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
Show file Open project: apache/lucenenet

Public Methods

Method 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

Protected Methods

Method Description
ParsePhraseElements ( ComplexPhraseQueryParser qp ) : void

Private Methods

Method Description
AddComplexPhraseClause ( List spanClauses, Lucene.Net.Search.BooleanQuery qc ) : void

Method Details

ComplexPhraseQuery() public method

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

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ParsePhraseElements() protected method

protected ParsePhraseElements ( ComplexPhraseQueryParser qp ) : void
qp ComplexPhraseQueryParser
return void

Rewrite() public method

public Rewrite ( IndexReader reader ) : Query
reader Lucene.Net.Index.IndexReader
return Lucene.Net.Search.Query

ToString() public method

public ToString ( string field ) : string
field string
return string