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, uninvertclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildResourcespublic UnInvertedField(String field, SolrIndexSearcher searcher) throws IOException
IOExceptionprotected void visitTerm(TermsEnum te, int termNum) throws IOException
DocTermOrdsvisitTerm in class DocTermOrdsIOExceptionprotected void setActualDocFreq(int termNum,
int docFreq)
DocTermOrdsDocTermOrds.uninvert(org.apache.lucene.index.LeafReader,Bits,BytesRef)
to record the document frequency for each uninverted
term.setActualDocFreq in class DocTermOrdspublic long memSize()
public int getNumTerms()
public void collectDocs(org.apache.solr.search.facet.FacetFieldProcessorByArrayUIF processor)
throws IOException
IOExceptionpublic void collectDocsGeneric(org.apache.solr.search.facet.FacetFieldProcessorByArrayUIF processor)
throws IOException
IOExceptionpublic static UnInvertedField getUnInvertedField(String field, SolrIndexSearcher searcher) throws IOException
IOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.