Apache Lucene.Net 2.4.0 Class Library API

MultiFieldQueryParser Members

MultiFieldQueryParser overview

Public Static Methods

ParseOverloaded.  

Public Instance Constructors

MultiFieldQueryParser Overloaded. Initializes a new instance of the MultiFieldQueryParser class.

Public Instance Fields

jj_nt (inherited from QueryParser) Next token.
token (inherited from QueryParser) Current token
token_source (inherited from QueryParser) Generated token manager

Public Instance Methods

AddClause (inherited from QueryParser) 
Clause (inherited from QueryParser) 
Conjunction (inherited from QueryParser) 
Disable_tracing (inherited from QueryParser) Disable tracing.
Enable_tracing (inherited from QueryParser) Enable tracing.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GenerateParseException (inherited from QueryParser) Generate ParseException.
GetAllowLeadingWildcard (inherited from QueryParser) 
GetAnalyzer (inherited from QueryParser) 
GetBooleanQuery (inherited from QueryParser)Overloaded. Factory method for generating query, given a set of clauses. By default creates a boolean query composed of clauses passed in. Can be overridden by extending classes, to modify query being returned.
GetDateResolution (inherited from QueryParser) Returns the date resolution that is used by RangeQueries for the given field. Returns null, if no default or field specific date resolution has been set for the given field.
GetDefaultOperator (inherited from QueryParser) Gets implicit operator setting, which will be either AND_OPERATOR or OR_OPERATOR.
GetEnablePositionIncrements (inherited from QueryParser) 
GetField (inherited from QueryParser) 
GetFieldQueryOverloaded.  
GetFuzzyMinSim (inherited from QueryParser) Get the minimal similarity for fuzzy queries.
GetFuzzyPrefixLength (inherited from QueryParser) Get the prefix length for fuzzy queries.
GetFuzzyQuery 
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLocale (inherited from QueryParser) Returns current locale, allowing access by subclasses.
GetLowercaseExpandedTerms (inherited from QueryParser) 
GetNextToken (inherited from QueryParser) Get the next Token.
GetPhraseSlop (inherited from QueryParser) Gets the default slop for phrases.
GetPrefixQuery 
GetRangeCollator (inherited from QueryParser) Returns the collator used to determine index term inclusion in ranges specified either for ConstantScoreRangeQuery or RangeQuery (if SetUseOldRangeQuery(bool) is called with the parameter true).
GetRangeQuery 
GetToken (inherited from QueryParser) Get the specific Token.
GetType (inherited from Object)Gets the Type of the current instance.
GetUseOldRangeQuery (inherited from QueryParser) 
GetWildcardQuery 
Modifiers (inherited from QueryParser) 
Parse (inherited from QueryParser)Overloaded. Parses a query string, returning a {@link Lucene.Net.Search.Query}.
Query (inherited from QueryParser) 
ReInit (inherited from QueryParser)Overloaded. Reinitialise.
SetAllowLeadingWildcard (inherited from QueryParser) 
SetDateResolution (inherited from QueryParser)Overloaded. Sets the default date resolution used by RangeQueries for fields for which no specific date resolutions has been set. Field specific resolutions can be set with {@link #SetDateResolution(String, DateTools.Resolution)}.
SetDefaultOperator (inherited from QueryParser) Sets the boolean operator of the QueryParser. In default mode (
OR_OPERATOR
) terms without any modifiers are considered optional: for example
capital of Hungary
is equal to
capital OR of OR Hungary
.
In
AND_OPERATOR
mode terms are considered to be in conjuction: the above mentioned query is parsed as
capital AND of AND Hungary
SetEnablePositionIncrements (inherited from QueryParser) 
SetFuzzyMinSim (inherited from QueryParser) Set the minimum similarity for fuzzy queries. Default is 0.5f.
SetFuzzyPrefixLength (inherited from QueryParser) Set the prefix length for fuzzy queries. Default is 0.
SetLocale (inherited from QueryParser) Set locale used by date range parsing.
SetLowercaseExpandedTerms (inherited from QueryParser) Whether terms of wildcard, prefix, fuzzy and range queries are to be automatically lower-cased or not. Default is
true
.
SetPhraseSlop (inherited from QueryParser) Sets the default slop for phrases. If zero, then exact phrase matches are required. Default value is zero.
SetRangeCollator (inherited from QueryParser) Sets the collator used to determine index term inclusion in ranges specified either for ConstantScoreRangeQuery or RangeQuery (if SetUseOldRangeQuery(bool) is called with a parameter of true. WARNING: Setting the rangeCollator to a non-null collator using this method will cause every single index Term in the Field referenced by lowerTerm and/or upperTerm to be examined. Depending on the number of index Terms in this Field, the operation could be very slow.
SetUseOldRangeQuery (inherited from QueryParser) By default QueryParser uses new ConstantScoreRangeQuery in preference to RangeQuery for range queries. This implementation is generally preferable because it a) Runs faster b) Does not have the scarcity of range terms unduly influence score c) avoids any "TooManyBooleanClauses" exception. However, if your application really needs to use the old-fashioned RangeQuery and the above points are not required then set this option to
true
Default is
false
.
Term (inherited from QueryParser) 
TopLevelQuery (inherited from QueryParser) 
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
newBooleanClause (inherited from QueryParser) Builds a new BooleanClause instance.
newBooleanQuery (inherited from QueryParser) Builds a new BooleanQuery instance.
newFuzzyQuery (inherited from QueryParser) Builds a new FuzzyQuery instance.
newMatchAllDocsQuery (inherited from QueryParser) Builds a new MatchAllDocsQuery instance.
newMultiPhraseQuery (inherited from QueryParser) Builds a new MultiPhraseQuery instance.
newPhraseQuery (inherited from QueryParser) Builds a new PhraseQuery instance.
newPrefixQuery (inherited from QueryParser) Builds a new PrefixQuery instance.
newRangeQuery (inherited from QueryParser) Builds a new RangeQuery instance.
newTermQuery (inherited from QueryParser) Builds a new TermQuery instance.
newWildcardQuery (inherited from QueryParser) Builds a new WildcardQuery instance.

Protected Internal Instance Fields

boosts 
fields 

See Also

MultiFieldQueryParser Class | Lucene.Net.QueryParsers Namespace