Overload List
Name | Description | |
---|---|---|
MultiFieldQueryParser(array<String>[]()[][], Analyzer) | Obsolete. Creates a MultiFieldQueryParser.
It will, when parse(String query) is called, construct a query like this
(assuming the query consists of two terms and you specify the two fields
CopyC# title CopyC# body CopyC# (title:term1 body:term1) (title:term2 body:term2) CopyC# +(title:term1 body:term1) +(title:term2 body:term2) | |
MultiFieldQueryParser(array<String>[]()[][], Analyzer, IDictionary) | Obsolete. Creates a MultiFieldQueryParser. Allows passing of a map with term to
Boost, and the boost to apply to each term.
It will, when parse(String query) is called, construct a query like this
(assuming the query consists of two terms and you specify the two fields
CopyC# title CopyC# body CopyC# (title:term1 body:term1) (title:term2 body:term2) CopyC# +(title:term1 body:term1) +(title:term2 body:term2) CopyC# +(title:term1^5.0 body:term1^10.0) +(title:term2^5.0 body:term2^10.0) | |
MultiFieldQueryParser(Version, array<String>[]()[][], Analyzer) | Creates a MultiFieldQueryParser.
It will, when parse(String query) is called, construct a query like this
(assuming the query consists of two terms and you specify the two fields
CopyC# title CopyC# body CopyC# (title:term1 body:term1) (title:term2 body:term2) CopyC# +(title:term1 body:term1) +(title:term2 body:term2) | |
MultiFieldQueryParser(Version, array<String>[]()[][], Analyzer, IDictionary) | Creates a MultiFieldQueryParser. Allows passing of a map with term to
Boost, and the boost to apply to each term.
It will, when parse(String query) is called, construct a query like this
(assuming the query consists of two terms and you specify the two fields
CopyC# title CopyC# body CopyC# (title:term1 body:term1) (title:term2 body:term2) CopyC# +(title:term1 body:term1) +(title:term2 body:term2) CopyC# +(title:term1^5.0 body:term1^10.0) +(title:term2^5.0 body:term2^10.0) |