C# 클래스 Lucene.Net.Facet.SortedSet.SortedSetDocValuesReaderState

Wraps a IndexReader and resolves ords using existing SortedSetDocValues APIs without a separate taxonomy index. This only supports flat facets (dimension + label), and it makes faceting a bit slower, adds some cost at reopen time, but avoids managing the separate taxonomy index. It also requires less RAM than the taxonomy index, as it manages the flat (2-level) hierarchy more efficiently. In addition, the tie-break during faceting is now meaningful (in label sorted order).

NOTE: creating an instance of this class is somewhat costly, as it computes per-segment ordinal maps, so you should create it once and re-use that one instance for a given IndexReader.

파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
GetOrdRange ( string dim ) : OrdRange

Returns the OrdRange for this dimension.

보호된 메소드들

메소드 설명
SortedSetDocValuesReaderState ( ) : System.Collections.Generic

Sole constructor.

메소드 상세

GetOrdRange() 공개 추상적인 메소드

Returns the OrdRange for this dimension.
public abstract GetOrdRange ( string dim ) : OrdRange
dim string
리턴 OrdRange

SortedSetDocValuesReaderState() 보호된 메소드

Sole constructor.
protected SortedSetDocValuesReaderState ( ) : System.Collections.Generic
리턴 System.Collections.Generic