C# 클래스 Lucene.Net.Search.Grouping.Terms.TermGroupFacetCollector

An implementation of AbstractGroupFacetCollector that computes grouped facets based on the indexed terms from the FieldCache. @lucene.experimental
상속: AbstractGroupFacetCollector
파일 보기 프로젝트 열기: apache/lucenenet

공개 메소드들

메소드 설명
CreateTermGroupFacetCollector ( string groupField, string facetField, bool facetFieldMultivalued, BytesRef facetPrefix, int initialSize ) : TermGroupFacetCollector

Factory method for creating the right implementation based on the fact whether the facet field contains multiple tokens per documents.

비공개 메소드들

메소드 설명
TermGroupFacetCollector ( string groupField, string facetField, BytesRef facetPrefix, int initialSize ) : Lucene.Net.Index

메소드 상세

CreateTermGroupFacetCollector() 공개 정적인 메소드

Factory method for creating the right implementation based on the fact whether the facet field contains multiple tokens per documents.
public static CreateTermGroupFacetCollector ( string groupField, string facetField, bool facetFieldMultivalued, BytesRef facetPrefix, int initialSize ) : TermGroupFacetCollector
groupField string The group field
facetField string The facet field
facetFieldMultivalued bool Whether the facet field has multiple tokens per document
facetPrefix BytesRef The facet prefix a facet entry should start with to be included.
initialSize int /// The initial allocation size of the internal int set and group facet list which should roughly /// match the total number of expected unique groups. Be aware that the heap usage is /// 4 bytes * initialSize. ///
리턴 TermGroupFacetCollector