[−][src]Module tantivy::query
Query Module
Structs
AllQuery | Query that matches all of the documents. |
AllScorer | Scorer associated to the |
AllWeight | Weight associated to the |
AutomatonWeight | A weight struct for Fuzzy Term and Regex Queries |
BitSetDocSet | A |
BooleanQuery | The boolean query returns a set of documents that matches the Boolean combination of constituent subqueries. |
BoostQuery |
|
ConstScorer | Wraps a |
EmptyQuery |
|
EmptyScorer |
|
EmptyWeight |
|
Exclude | Filters a given |
Explanation | Object describing the score of a given document. It is organized in trees. |
FuzzyTermQuery | A Fuzzy Query matches all of the documents containing a specific term that is within Levenshtein distance |
Intersection | Creates a |
PhraseQuery |
|
QueryParser | Tantivy's Query parser |
RangeQuery |
|
RegexQuery | A Regex Query matches all of the documents containing a specific term that matches a regex pattern. |
RequiredOptionalScorer | Given a required scorer and an optional scorer matches all document from the required scorer and complements the score using the optional scorer. |
TermQuery | A Term query matches all of the documents containing a specific term. |
Union | Creates a |
Enums
Occur | Defines whether a term in a query must be present, should be present or must be not present. |
QueryParserError | Possible error that may happen when parsing a query. |
Traits
Query | The |
Scorer | Scored set of documents matching a query within a specific segment. |
Weight | A Weight is the specialization of a Query for a given set of segments. |
Functions
intersect_scorers | Returns the intersection scorer. |