Open S-Dragon0302 opened 2 weeks ago
intervals query syntax { "intervals": { "FilterKeys": { "all_of": { "ordered": true, "max_gaps": 5, "intervals": [ { "match": { "query": "hello word", "max_gaps": 0, "ordered": true } }, { "match": { "query": "how to", "max_gaps": 0, "ordered": true } } ] }, "boost": 1 } } }
intervals_phrase syntax { "intervals_phrase":{ "query":"((hello word)~0 (how to)~0)~5", "field":"FilterKeys", "ordered":"true" } }
Pinging @elastic/es-search-foundations (Team:Search Foundations)
Description
intervals query syntax { "intervals": { "FilterKeys": { "all_of": { "ordered": true, "max_gaps": 5, "intervals": [ { "match": { "query": "hello word", "max_gaps": 0, "ordered": true } }, { "match": { "query": "how to", "max_gaps": 0, "ordered": true } } ] }, "boost": 1 } } }
intervals_phrase syntax { "intervals_phrase":{ "query":"((hello word)~0 (how to)~0)~5", "field":"FilterKeys", "ordered":"true" } }