public class UnInvertedField extends DocTermOrds
Modifier and Type | Class and Description |
---|---|
static interface |
UnInvertedField.Callback |
class |
UnInvertedField.DocToTerm |
checkForDocValues, DEFAULT_INDEX_INTERVAL_BITS, field, index, indexedTermsArray, maxTermDocFreq, numTermsInField, ordBase, phase1_time, postingsEnum, prefix, sizeOfIndexedStrings, termInstances, tnums, total_time
Constructor and Description |
---|
UnInvertedField(String field,
SolrIndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
void |
collectDocs(org.apache.solr.search.facet.FacetFieldProcessorByArrayUIF processor) |
void |
collectDocsGeneric(org.apache.solr.search.facet.FacetFieldProcessorByArrayUIF processor) |
int |
getNumTerms() |
static UnInvertedField |
getUnInvertedField(String field,
SolrIndexSearcher searcher) |
long |
memSize() |
protected void |
setActualDocFreq(int termNum,
int docFreq)
Invoked during
DocTermOrds.uninvert(org.apache.lucene.index.LeafReader,Bits,BytesRef)
to record the document frequency for each uninverted
term. |
String |
toString() |
protected void |
visitTerm(TermsEnum te,
int termNum)
Subclass can override this
|
getOrdTermsEnum, isEmpty, iterator, lookupTerm, numTerms, ramBytesUsed, uninvert
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildResources
public UnInvertedField(String field, SolrIndexSearcher searcher) throws IOException
IOException
protected void visitTerm(TermsEnum te, int termNum) throws IOException
DocTermOrds
visitTerm
in class DocTermOrds
IOException
protected void setActualDocFreq(int termNum, int docFreq)
DocTermOrds
DocTermOrds.uninvert(org.apache.lucene.index.LeafReader,Bits,BytesRef)
to record the document frequency for each uninverted
term.setActualDocFreq
in class DocTermOrds
public long memSize()
public int getNumTerms()
public void collectDocs(org.apache.solr.search.facet.FacetFieldProcessorByArrayUIF processor) throws IOException
IOException
public void collectDocsGeneric(org.apache.solr.search.facet.FacetFieldProcessorByArrayUIF processor) throws IOException
IOException
public static UnInvertedField getUnInvertedField(String field, SolrIndexSearcher searcher) throws IOException
IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.