C# Class Lucene.Net.Search.BooleanFilter

Inheritance: Filter
显示文件 Open project: synhershko/lucene.net Class Usage Examples

Public Methods

Method Description
Add ( FilterClause filterClause ) : void

Add a filter clause.

Equals ( Object obj ) : bool

Equality

GetDocIdSet ( IndexReader reader ) : Lucene.Net.Search.DocIdSet

Get the id set for the filter.

GetHashCode ( ) : int

Hash code.

ToString ( ) : String

String representation.

Protected Methods

Method Description
FinalResult ( Lucene.Net.Util.OpenBitSetDISI result, int maxDocs ) : Lucene.Net.Search.DocIdSet

Private Methods

Method Description
AppendFilters ( List filters, String occurString, StringBuilder buffer ) : void

Append individual filters.

EqualFilters ( List filters1, List filters2 ) : bool

Determine equality between two lists.

GetDISI ( List filters, int index, IndexReader reader ) : DocIdSetIterator

Get the iterator for a specific filter.

ListHash ( List filters ) : int

Method Details

Add() public method

Add a filter clause.
public Add ( FilterClause filterClause ) : void
filterClause FilterClause The clause to add.
return void

Equals() public method

Equality
public Equals ( Object obj ) : bool
obj Object
return bool

FinalResult() protected method

protected FinalResult ( Lucene.Net.Util.OpenBitSetDISI result, int maxDocs ) : Lucene.Net.Search.DocIdSet
result Lucene.Net.Util.OpenBitSetDISI
maxDocs int
return Lucene.Net.Search.DocIdSet

GetDocIdSet() public method

Get the id set for the filter.
public GetDocIdSet ( IndexReader reader ) : Lucene.Net.Search.DocIdSet
reader Lucene.Net.Index.IndexReader The reader.
return Lucene.Net.Search.DocIdSet

GetHashCode() public method

Hash code.
public GetHashCode ( ) : int
return int

ToString() public method

String representation.
public ToString ( ) : String
return String