C# Class Lucene.Net.QueryParsers.Surround.Query.SrndQuery

Lowest level base class for surround queries
Inheritance: ICloneable
Mostrar archivo Open project: apache/lucenenet Class Usage Examples

Public Properties

Property Type Description
TheEmptyLcnQuery Search.Query

Public Methods

Method Description
Clone ( ) : object

Shallow clone. Subclasses must override this if they need to clone any members deeply,

Equals ( object obj ) : bool

For subclasses of SrndQuery within the namespace Lucene.Net.QueryParsers.Surround.Query it is not necessary to override this method, ToString()

GetHashCode ( ) : int

For subclasses of SrndQuery within the namespace Lucene.Net.QueryParsers.Surround.Query it is not necessary to override this method, ToString()

MakeLuceneQueryField ( string fieldName, BasicQueryFactory qf ) : Search.Query
MakeLuceneQueryFieldNoBoost ( string fieldName, BasicQueryFactory qf ) : Search.Query
ToString ( ) : string

This method is used by GetHashCode() and Equals(Object), see LUCENE-2945.

Protected Methods

Method Description
WeightToString ( StringBuilder r ) : void

Method Details

Clone() public method

Shallow clone. Subclasses must override this if they need to clone any members deeply,
public Clone ( ) : object
return object

Equals() public method

For subclasses of SrndQuery within the namespace Lucene.Net.QueryParsers.Surround.Query it is not necessary to override this method, ToString()
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

For subclasses of SrndQuery within the namespace Lucene.Net.QueryParsers.Surround.Query it is not necessary to override this method, ToString()
public GetHashCode ( ) : int
return int

MakeLuceneQueryField() public method

public MakeLuceneQueryField ( string fieldName, BasicQueryFactory qf ) : Search.Query
fieldName string
qf BasicQueryFactory
return Search.Query

MakeLuceneQueryFieldNoBoost() public abstract method

public abstract MakeLuceneQueryFieldNoBoost ( string fieldName, BasicQueryFactory qf ) : Search.Query
fieldName string
qf BasicQueryFactory
return Search.Query

ToString() public abstract method

This method is used by GetHashCode() and Equals(Object), see LUCENE-2945.
public abstract ToString ( ) : string
return string

WeightToString() protected method

protected WeightToString ( StringBuilder r ) : void
r StringBuilder
return void

Property Details

TheEmptyLcnQuery public_oe static_oe property

An empty Lucene query
public static Search.Query TheEmptyLcnQuery
return Search.Query