C# Class Lucene.Net.QueryParsers.ComplexPhrase.ComplexPhraseQueryParser.ComplexPhraseQuery

Used to handle the query content in between quotes and produced Span-based interpretations of the clauses.
Inheritance: Lucene.Net.Search.Query
Afficher le fichier Open project: apache/lucenenet

Méthodes publiques

Méthode Description
ComplexPhraseQuery ( string field, string phrasedQueryStringContents, int slopFactor, bool inOrder ) : Lucene.Net.Analysis
Equals ( object obj ) : bool
GetHashCode ( ) : int
Rewrite ( IndexReader reader ) : Query
ToString ( string field ) : string

Méthodes protégées

Méthode Description
ParsePhraseElements ( ComplexPhraseQueryParser qp ) : void

Private Methods

Méthode Description
AddComplexPhraseClause ( List spanClauses, Lucene.Net.Search.BooleanQuery qc ) : void

Method Details

ComplexPhraseQuery() public méthode

public ComplexPhraseQuery ( string field, string phrasedQueryStringContents, int slopFactor, bool inOrder ) : Lucene.Net.Analysis
field string
phrasedQueryStringContents string
slopFactor int
inOrder bool
Résultat Lucene.Net.Analysis

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

ParsePhraseElements() protected méthode

protected ParsePhraseElements ( ComplexPhraseQueryParser qp ) : void
qp ComplexPhraseQueryParser
Résultat void

Rewrite() public méthode

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

ToString() public méthode

public ToString ( string field ) : string
field string
Résultat string