CopyPastor

Detecting plagiarism made easy.

Score: 0.8525093197822571; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2024-07-08
by Sajad Ranjbar

Original Post

Original - Posted on 2018-10-09
by Tarek Essam



            
Present in both answers; Present only in the new answer; Present only in the old answer;

This is what worked for me:
GET index/_search { "query": { "bool": { "must_not": [ { "bool": { "must": [ { "term": { "bool-facet.criteria1": false } }, { "term": { "bool-facet.criteria2": false } } ] } } ] } } }
You should use must and must_not in the same bool query.
{ "bool": { "must_not": [{ "nested": { "path": "fields", "query": { "terms": { "fields.value.raw": [ "200" ] } } } }], "must": [{ "match": { "fields.uid": "number" } }] } }

        
Present in both answers; Present only in the new answer; Present only in the old answer;