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 |
|---|---|
static UnInvertedField |
checkUnInvertedField(String field,
SolrIndexSearcher searcher) |
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 static void |
rethrowAsSolrException(String field,
Throwable e) |
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)
Called for each term in the field being uninverted.
|
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
maxTermCounts for all bigTerms as well as storing them in bigTerms.visitTerm in class DocTermOrdste - positioned at the current term.termNum - the ID/pointer/ordinal of the current term. Monotonically increasing between calls.IOExceptionprotected 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
IOExceptionpublic static UnInvertedField checkUnInvertedField(String field, SolrIndexSearcher searcher) throws IOException
IOExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.