Lucene Query Structured Summary¶
The explain response of a search command
contains information about the query executed with that command. The
response includes structured details of what Lucene queries Atlas Search
executed to satisfy a $search
query.
This page contains:
- Some of the Lucene queries that Atlas Search operators create
- Lucene query options that are included in the structured summary
- Lucene query structured summary example for each Lucene query type
Note
About the Examples
The examples in this section are based on queries run against the
sample datasets with the
queryPlanner
verbosity mode. In the
example response, the:
mongotQuery
field shows the Atlas Search operator and the query that was run.explain.type
field shows the Lucene Query that the operator created.
For complete examples, see Examples.
BooleanQuery
¶
ConstantScoreQuery
¶
FunctionScoreQuery
¶
LatLonPointDistanceQuery
¶
LatLonShapeQuery
¶
LongDistanceFeatureQuery
¶
MultiTermQueryConstantScoreWrapper
¶
PhraseQuery
¶
PointRangeQuery
¶
TermQuery
¶
Default
¶