Queries are
just like filters, queries should be used instead of filters:
a.
For
full text search
b.
Where
the result depends on a relevance score
Use query
clauses for full-text search or for any condition that should affect the relevance
score, and use filter clauses for everything else.
No comments:
Post a Comment