C# Class Lucene.Net.Search.MultiPhraseQuery

Inheritance: Query
Afficher le fichier Open project: synhershko/lucene.net Class Usage Examples

Méthodes publiques

Méthode Description
Add ( Lucene.Net.Index.Term term ) : void

Add a single term at the next position in the phrase.

Add ( Lucene.Net.Index.Term terms, int position ) : void

Allows to specify the relative position of terms within the phrase.

CreateWeight ( Searcher searcher ) : Weight
Equals ( System o ) : bool

Returns true if o is equal to this.

ExtractTerms ( System terms ) : void
GetHashCode ( ) : int

Returns a hash code value for this object.

GetPositions ( ) : int[]

Returns the relative positions of terms in this phrase.

Rewrite ( Lucene.Net.Index.IndexReader reader ) : Query
TermEquals ( System array1, System array2 ) : bool
ToString ( System f ) : System.String

Prints a user-readable version of this query.

Private Methods

Méthode Description
ArraysHashCode ( Lucene.Net.Index.Term termArray ) : int
GetTermArrays ( ) : System.Collections.Generic.IList
TermArraysEquals ( System termArrays1, System termArrays2 ) : bool
TermArraysHashCode ( ) : int

Method Details

Add() public méthode

Add a single term at the next position in the phrase.
public Add ( Lucene.Net.Index.Term term ) : void
term Lucene.Net.Index.Term
Résultat void

Add() public méthode

Allows to specify the relative position of terms within the phrase.
public Add ( Lucene.Net.Index.Term terms, int position ) : void
terms Lucene.Net.Index.Term ///
position int ///
Résultat void

CreateWeight() public méthode

public CreateWeight ( Searcher searcher ) : Weight
searcher Searcher
Résultat Weight

Equals() public méthode

Returns true if o is equal to this.
public Equals ( System o ) : bool
o System
Résultat bool

ExtractTerms() public méthode

public ExtractTerms ( System terms ) : void
terms System
Résultat void

GetHashCode() public méthode

Returns a hash code value for this object.
public GetHashCode ( ) : int
Résultat int

GetPositions() public méthode

Returns the relative positions of terms in this phrase.
public GetPositions ( ) : int[]
Résultat int[]

Rewrite() public méthode

public Rewrite ( Lucene.Net.Index.IndexReader reader ) : Query
reader Lucene.Net.Index.IndexReader
Résultat Query

TermEquals() public static méthode

public static TermEquals ( System array1, System array2 ) : bool
array1 System
array2 System
Résultat bool

ToString() public méthode

Prints a user-readable version of this query.
public ToString ( System f ) : System.String
f System
Résultat System.String