C# Class Lucene.Net.Sandbox.Queries.DuplicateFilter

Filter to remove duplicate values from search results. WARNING: for this to work correctly, you may have to wrap your reader as it cannot current deduplicate across different index segments.
Inheritance: Lucene.Net.Search.Filter
Mostra file Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
DuplicateFilter ( string fieldName ) : Lucene.Net.Index
DuplicateFilter ( string fieldName, KeepMode keepMode, ProcessingMode processingMode ) : Lucene.Net.Index
Equals ( object obj ) : bool
GetDocIdSet ( Lucene.Net.Index.AtomicReaderContext context, Bits acceptDocs ) : Lucene.Net.Search.DocIdSet
GetHashCode ( ) : int

Private Methods

Method Description
CorrectBits ( AtomicReader reader, Bits acceptDocs ) : FixedBitSet
FastBits ( AtomicReader reader, Bits acceptDocs ) : FixedBitSet

Method Details

DuplicateFilter() public method

public DuplicateFilter ( string fieldName ) : Lucene.Net.Index
fieldName string
return Lucene.Net.Index

DuplicateFilter() public method

public DuplicateFilter ( string fieldName, KeepMode keepMode, ProcessingMode processingMode ) : Lucene.Net.Index
fieldName string
keepMode KeepMode
processingMode ProcessingMode
return Lucene.Net.Index

Equals() public method

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

GetDocIdSet() public method

public GetDocIdSet ( Lucene.Net.Index.AtomicReaderContext context, Bits acceptDocs ) : Lucene.Net.Search.DocIdSet
context Lucene.Net.Index.AtomicReaderContext
acceptDocs Bits
return Lucene.Net.Search.DocIdSet

GetHashCode() public method

public GetHashCode ( ) : int
return int