MultiFieldQueryParser overview
![]() ![]() | Overloaded. |
![]() |
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 titleand body): (title:term1 body:term1) (title:term2 body:term2) When setDefaultOperator(AND_OPERATOR) is set, the result will be: +(title:term1 body:term1) +(title:term2 body:term2) In other words, all the query's terms must appear, but it doesn't matter in what fields they appear. |
![]() | |
![]() | |
![]() | |
![]() |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | |
![]() | |
![]() | Gets implicit operator setting, which will be either AND_OPERATOR or OR_OPERATOR. |
![]() | |
![]() | Get the minimal similarity for fuzzy queries. |
![]() | Get the prefix length for fuzzy queries. |
![]() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Returns current locale, allowing access by subclasses. |
![]() | |
![]() | |
![]() | Gets the default slop for phrases. |
![]() | |
![]() | Gets the Type of the current instance. |
![]() | |
![]() | Overloaded. Parses a query string, returning a {@link Lucene.Net.search.Query}. |
![]() | |
![]() | Overloaded. |
![]() | Sets the boolean operator of the QueryParser. In default mode (OR_OPERATOR) terms without any modifiers are considered optional: for example capital of Hungaryis equal to capital OR of OR Hungary. In AND_OPERATORmode terms are considered to be in conjuction: the above mentioned query is parsed as capital AND of AND Hungary |
![]() | Set the minimum similarity for fuzzy queries. Default is 0.5f. |
![]() | Set the prefix length for fuzzy queries. Default is 0. |
![]() | Set locale used by date range parsing. |
![]() | Whether terms of wildcard, prefix, fuzzy and range queries are to be automatically lower-cased or not. Default is true. |
![]() | Sets the default slop for phrases. If zero, then exact phrase matches are required. Default value is zero. |
![]() | |
![]() | Returns a String that represents the current Object. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Creates a shallow copy of the current Object. |
![]() | |
![]() | 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. |
![]() | Overloaded. |
![]() | |
![]() | |
![]() | |
![]() |
MultiFieldQueryParser Class | Lucene.Net.QueryParsers Namespace