public abstract class FacetFieldProcessorByArray extends FacetFieldProcessor
SortedDocValues and SortedSetDocValues only.
It can handle terms (strings), not numbers directly but those encoded as terms, and is multi-valued capable.| Modifier and Type | Field and Description |
|---|---|
int |
endTermIndex |
int |
nTerms |
int |
startTermIndex |
allBucketsAcc, collectAcc, effectiveMincountcountAcc, fcontext| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
collectDocs() |
protected abstract void |
findStartAndEndOrds() |
protected abstract BytesRef |
lookupOrd(int ord)
this BytesRef may be shared across calls and should be deep-cloned if necessary
|
void |
process() |
collectFirstPhase, collectFirstPhase, createAccs, processStats, refineFacets, setNextReaderFirstPhasecreateProcessor, getResponsepublic int startTermIndex
public int endTermIndex
public int nTerms
protected abstract void findStartAndEndOrds()
throws IOException
IOExceptionprotected abstract void collectDocs()
throws IOException
IOExceptionprotected abstract BytesRef lookupOrd(int ord) throws IOException
IOExceptionpublic void process()
throws IOException
process in class FacetProcessor<FacetField>IOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.