Method | Description | |
---|---|---|
Add ( Lucene.Net.Index.Term term ) : void |
Adds a term to the end of the query phrase. The relative position of the term is the one immediately after the last term added.
|
|
Add ( Lucene.Net.Index.Term term, int position ) : void |
Adds a term to the end of the query phrase. The relative position of the term within the phrase is specified explicitly. This allows e.g. phrases with more than one term at the same position or phrases with gaps (e.g. in connection with stopwords).
|
|
CreateWeight ( |
||
Equals ( System o ) : bool |
Returns true iff
|
|
ExtractTerms ( System |
||
GetHashCode ( ) : int |
Returns a hash code value for this object.
|
|
GetPositions ( ) : int[] |
Returns the relative positions of terms in this phrase.
|
|
GetTerms ( ) : Term[] |
Returns the set of terms in this phrase.
|
|
PhraseQuery ( ) : System |
Constructs an empty phrase query.
|
|
ToString ( System f ) : System.String |
Prints a user-readable version of this query.
|
public Add ( Lucene.Net.Index.Term term ) : void | ||
term | Lucene.Net.Index.Term | |
return | void |
public Add ( Lucene.Net.Index.Term term, int position ) : void | ||
term | Lucene.Net.Index.Term | /// |
position | int | /// |
return | void |
public CreateWeight ( |
||
searcher | ||
return |
public ExtractTerms ( System |
||
queryTerms | System |
|
return | void |