Changed example
This commit is contained in:
parent
c03661894c
commit
df4b1a09c4
1 changed files with 19 additions and 24 deletions
|
@ -10,9 +10,6 @@
|
|||
<script>
|
||||
var rules_example =
|
||||
{
|
||||
"condition": "OR",
|
||||
"rules": [
|
||||
{
|
||||
"condition": "AND",
|
||||
"rules": [
|
||||
{
|
||||
|
@ -23,6 +20,17 @@
|
|||
"operator": "contains",
|
||||
"value": "мутазилиты"
|
||||
},
|
||||
{
|
||||
"condition": "OR",
|
||||
"rules": [
|
||||
{
|
||||
"id": "keywords",
|
||||
"field": "keywords",
|
||||
"type": "string",
|
||||
"input": "text",
|
||||
"operator": "contains",
|
||||
"value": "природа"
|
||||
},
|
||||
{
|
||||
"id": "keywords",
|
||||
"field": "keywords",
|
||||
|
@ -34,26 +42,13 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"condition": "AND",
|
||||
"rules": [
|
||||
{
|
||||
"id": "ALLTEXT",
|
||||
"field": "ALLTEXT",
|
||||
"type": "string",
|
||||
"input": "text",
|
||||
"operator": "contains",
|
||||
"value": "природа"
|
||||
},
|
||||
{
|
||||
"id": "ALLTEXT",
|
||||
"field": "ALLTEXT",
|
||||
"id": "keywords",
|
||||
"field": "keywords",
|
||||
"type": "string",
|
||||
"input": "text",
|
||||
"operator": "not_contains",
|
||||
"value": "модус"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"valid": true
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue