Uses of Class
org.apache.lucene.index.Term
-
Packages that use Term Package Description org.apache.lucene.analysis.query Automatically filter high-frequency stopwords.org.apache.lucene.facet.enhancements Enhanced category featuresorg.apache.lucene.facet.enhancements.association Association category enhancementsorg.apache.lucene.facet.index Indexing of document categoriesorg.apache.lucene.facet.index.params Indexing-time specifications for handling facetsorg.apache.lucene.facet.search Faceted Search APIorg.apache.lucene.index Code to maintain and access indices.org.apache.lucene.index.pruning Static Index Pruning Toolsorg.apache.lucene.misc Miscellaneous index tools.org.apache.lucene.queryParser A simple query parser implemented with JavaCC.org.apache.lucene.queryParser.complexPhrase QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"org.apache.lucene.queryParser.surround.query This package contains SrndQuery and its subclasses.org.apache.lucene.search Code to search indices.org.apache.lucene.search.function Programmatic control over documents scores.org.apache.lucene.search.join This modules support index-time and query-time joins.org.apache.lucene.search.payloads The payloads package provides Query mechanisms for finding and using payloads.org.apache.lucene.search.regex Regular expression Query.org.apache.lucene.search.spans The calculus of spans.org.apache.lucene.store.instantiated InstantiatedIndex, alternative RAM store for small corpora. -
-
Uses of Term in org.apache.lucene.analysis.query
Methods in org.apache.lucene.analysis.query that return Term Modifier and Type Method Description Term[]QueryAutoStopWordAnalyzer. getStopWords()Provides information on which stop words have been identified for all fields -
Uses of Term in org.apache.lucene.facet.enhancements
Constructors in org.apache.lucene.facet.enhancements with parameters of type Term Constructor Description EnhancementsPayloadIterator(List<CategoryEnhancement> enhancementsList, IndexReader indexReader, Term term)Constructor. -
Uses of Term in org.apache.lucene.facet.enhancements.association
Fields in org.apache.lucene.facet.enhancements.association declared as Term Modifier and Type Field Description static TermAssociationsPayloadIterator. ASSOCIATION_POSTING_TERMDefault Term for associations -
Uses of Term in org.apache.lucene.facet.index
Methods in org.apache.lucene.facet.index with parameters of type Term Modifier and Type Method Description PayloadProcessorProvider.PayloadProcessorFacetsPayloadProcessorProvider.FacetsDirPayloadProcessor. getProcessor(Term term) -
Uses of Term in org.apache.lucene.facet.index.params
Fields in org.apache.lucene.facet.index.params declared as Term Modifier and Type Field Description static TermCategoryListParams. DEFAULT_TERMThe default term used to store the facets information.Methods in org.apache.lucene.facet.index.params that return Term Modifier and Type Method Description TermCategoryListParams. getTerm()ATermwho's payload holds the category-list.Constructors in org.apache.lucene.facet.index.params with parameters of type Term Constructor Description CategoryListParams(Term term)Constructs a category list parameters object, using the givenTerm. -
Uses of Term in org.apache.lucene.facet.search
Methods in org.apache.lucene.facet.search that return Term Modifier and Type Method Description static TermDrillDown. term(FacetIndexingParams iParams, CategoryPath path)Return a term for drilling down into a category.static TermDrillDown. term(FacetSearchParams sParams, CategoryPath path)Constructors in org.apache.lucene.facet.search with parameters of type Term Constructor Description PayloadIntDecodingIterator(IndexReader indexReader, Term term, IntDecoder decoder)PayloadIntDecodingIterator(IndexReader indexReader, Term term, IntDecoder decoder, byte[] buffer)PayloadIterator(IndexReader indexReader, Term term)PayloadIterator(IndexReader indexReader, Term term, byte[] buffer) -
Uses of Term in org.apache.lucene.index
Methods in org.apache.lucene.index that return Term Modifier and Type Method Description TermTerm. createTerm(String text)Optimized construction of new Terms by reusing same field as this Term - avoids field.intern() overheadTermFilterIndexReader.FilterTermEnum. term()abstract TermTermEnum. term()Returns the current Term in the enumeration.Methods in org.apache.lucene.index with parameters of type Term Modifier and Type Method Description protected voidThreadedIndexingAndSearchingTestCase. addDocument(Term id, Document doc)protected voidThreadedIndexingAndSearchingTestCase. addDocuments(Term id, Collection<Document> docs)intTerm. compareTo(Term other)Compares two terms, returning a negative integer if this term belongs before the argument, zero if this term is equal to the argument, and a positive integer if this term belongs after the argument.intIndexReader. deleteDocuments(Term term)Deprecated.Write support will be removed in Lucene 4.0.voidIndexWriter. deleteDocuments(Term term)Deletes the document(s) containingterm.voidIndexWriter. deleteDocuments(Term... terms)Deletes the document(s) containing any of the terms.voidRandomIndexWriter. deleteDocuments(Term term)protected voidThreadedIndexingAndSearchingTestCase. deleteDocuments(Term term)intFilterIndexReader. docFreq(Term t)abstract intIndexReader. docFreq(Term t)Returns the number of documents containing the termt.intMultiReader. docFreq(Term t)intParallelReader. docFreq(Term term)intSegmentReader. docFreq(Term t)abstract PayloadProcessorProvider.PayloadProcessorPayloadProcessorProvider.ReaderPayloadProcessor. getProcessor(Term term)Returns aPayloadProcessorProvider.PayloadProcessorfor the given term.TermDocsSegmentReader. rawTermDocs(Term term)Expert: returns an enumeration of the documents that containterm, including deleted documents (which are normally filtered out).voidAbstractAllTermDocs. seek(Term term)voidFilterIndexReader.FilterTermDocs. seek(Term term)voidMultipleTermPositions. seek(Term arg0)Not implemented.voidTermDocs. seek(Term term)Sets this to the data for a term.TermDocsFilterIndexReader. termDocs(Term term)TermDocsIndexReader. termDocs(Term term)Returns an enumeration of all the documents which containterm.TermDocsMultiReader. termDocs(Term term)TermDocsParallelReader. termDocs(Term term)TermDocsSegmentReader. termDocs(Term term)TermPositionsIndexReader. termPositions(Term term)Returns an enumeration of all the documents which containterm.TermEnumFilterIndexReader. terms(Term t)abstract TermEnumIndexReader. terms(Term t)Returns an enumeration of all terms starting at a given term.TermEnumMultiReader. terms(Term term)TermEnumParallelReader. terms(Term term)TermEnumSegmentReader. terms(Term t)voidIndexWriter. updateDocument(Term term, Document doc)Updates a document by first deleting the document(s) containingtermand then adding the new document.voidIndexWriter. updateDocument(Term term, Document doc, Analyzer analyzer)Updates a document by first deleting the document(s) containingtermand then adding the new document.voidRandomIndexWriter. updateDocument(Term t, Document doc)Updates a document.protected voidThreadedIndexingAndSearchingTestCase. updateDocument(Term term, Document doc)voidIndexWriter. updateDocuments(Term delTerm, Collection<Document> docs)Atomically deletes documents matching the provided delTerm and adds a block of documents with sequentially assigned document IDs, such that an external reader will see all or none of the documents.voidIndexWriter. updateDocuments(Term delTerm, Collection<Document> docs, Analyzer analyzer)Atomically deletes documents matching the provided delTerm and adds a block of documents, analyzed using the provided analyzer, with sequentially assigned document IDs, such that an external reader will see all or none of the documents.voidRandomIndexWriter. updateDocuments(Term delTerm, Collection<Document> docs)protected voidThreadedIndexingAndSearchingTestCase. updateDocuments(Term id, Collection<Document> docs)Constructors in org.apache.lucene.index with parameters of type Term Constructor Description MultipleTermPositions(IndexReader indexReader, Term[] terms)Creates a newMultipleTermPositionsinstance.PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Term midTerm)Deprecated.PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Term midTerm, IndexWriterConfig config1, IndexWriterConfig config2)PKIndexSplitter(Version version, Directory input, Directory dir1, Directory dir2, Term midTerm)Split an index based on a given primary key term and a 'middle' term. -
Uses of Term in org.apache.lucene.index.pruning
Methods in org.apache.lucene.index.pruning with parameters of type Term Modifier and Type Method Description voidCarmelTopKTermPruningPolicy. initPositionsTerm(TermPositions tp, Term t)voidCarmelUniformTermPruningPolicy. initPositionsTerm(TermPositions tp, Term t)voidRIDFTermPruningPolicy. initPositionsTerm(TermPositions tp, Term t)abstract voidTermPruningPolicy. initPositionsTerm(TermPositions in, Term t)Called when movingTermPositionsto a newTerm.voidTFTermPruningPolicy. initPositionsTerm(TermPositions in, Term t)booleanCarmelTopKTermPruningPolicy. pruneAllPositions(TermPositions termPositions, Term t)booleanCarmelUniformTermPruningPolicy. pruneAllPositions(TermPositions termPositions, Term t)booleanRIDFTermPruningPolicy. pruneAllPositions(TermPositions termPositions, Term t)abstract booleanTermPruningPolicy. pruneAllPositions(TermPositions termPositions, Term t)Prune all postings per term (invoked once per term per doc)booleanTFTermPruningPolicy. pruneAllPositions(TermPositions termPositions, Term t)booleanTermPruningPolicy. prunePayload(TermPositions in, Term curTerm)Called when checking for the presence of payload for the current term at a current positionintCarmelTopKTermPruningPolicy. pruneSomePositions(int docNum, int[] positions, Term curTerm)intCarmelUniformTermPruningPolicy. pruneSomePositions(int docNum, int[] positions, Term curTerm)intRIDFTermPruningPolicy. pruneSomePositions(int docNum, int[] positions, Term curTerm)abstract intTermPruningPolicy. pruneSomePositions(int docNum, int[] positions, Term curTerm)Prune some postings per term (invoked once per term per doc).intTFTermPruningPolicy. pruneSomePositions(int docNum, int[] positions, Term curTerm) -
Uses of Term in org.apache.lucene.misc
Methods in org.apache.lucene.misc with parameters of type Term Modifier and Type Method Description static voidGetTermInfo. getTermInfo(Directory dir, Term term)static longHighFreqTerms. getTotalTermFreq(IndexReader reader, Term term) -
Uses of Term in org.apache.lucene.queryParser
Methods in org.apache.lucene.queryParser with parameters of type Term Modifier and Type Method Description protected QueryQueryParser. newFuzzyQuery(Term term, float minimumSimilarity, int prefixLength)Builds a new FuzzyQuery instanceprotected QueryQueryParser. newPrefixQuery(Term prefix)Builds a new PrefixQuery instanceprotected QueryQueryParser. newTermQuery(Term term)Builds a new TermQuery instanceprotected QueryQueryParser. newWildcardQuery(Term t)Builds a new WildcardQuery instance -
Uses of Term in org.apache.lucene.queryParser.complexPhrase
Methods in org.apache.lucene.queryParser.complexPhrase with parameters of type Term Modifier and Type Method Description protected QueryComplexPhraseQueryParser. newTermQuery(Term term) -
Uses of Term in org.apache.lucene.queryParser.surround.query
Methods in org.apache.lucene.queryParser.surround.query that return Term Modifier and Type Method Description TermSrndPrefixQuery. getLucenePrefixTerm(String fieldName)TermSrndTermQuery. getLuceneTerm(String fieldName)Methods in org.apache.lucene.queryParser.surround.query with parameters of type Term Modifier and Type Method Description voidSpanNearClauseFactory. addTermWeighted(Term t, float weight)SpanTermQueryBasicQueryFactory. newSpanTermQuery(Term term)TermQueryBasicQueryFactory. newTermQuery(Term term)voidSimpleTerm.MatchingTermVisitor. visitMatchingTerm(Term t) -
Uses of Term in org.apache.lucene.search
Fields in org.apache.lucene.search declared as Term Modifier and Type Field Description protected TermFilteredTermEnum. currentTermthe current termprotected TermFuzzyQuery. termprotected TermWildcardQuery. termMethods in org.apache.lucene.search that return Term Modifier and Type Method Description TermPrefixFilter. getPrefix()TermPrefixQuery. getPrefix()Returns the prefix of this query.protected TermPrefixTermEnum. getPrefixTerm()TermFuzzyQuery. getTerm()Returns the pattern term.TermTermQuery. getTerm()Returns the term of this query.TermWildcardQuery. getTerm()Returns the pattern term.Term[]PhraseQuery. getTerms()Returns the set of terms in this phrase.protected TermSearchEquivalenceTestBase. randomTerm()returns a term suitable for searching.TermFilteredTermEnum. term()Returns the current Term in the enumeration.Methods in org.apache.lucene.search with parameters of type Term Modifier and Type Method Description voidMultiPhraseQuery. add(Term term)Add a single term at the next position in the phrase.voidMultiPhraseQuery. add(Term[] terms)Add multiple terms at the next position in the phrase.voidMultiPhraseQuery. add(Term[] terms, int position)Allows to specify the relative position of terms within the phrase.voidPhraseQuery. add(Term term)Adds a term to the end of the query phrase.voidPhraseQuery. add(Term term, int position)Adds a term to the end of the query phrase.protected voidMultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite. addClause(BooleanQuery topLevel, Term term, float boost)protected voidMultiTermQuery.TopTermsScoringBooleanQueryRewrite. addClause(BooleanQuery topLevel, Term term, float boost)voidTermsFilter. addTerm(Term term)Adds a term to the list of acceptable termslongNRTManager.TrackingIndexWriter. deleteDocuments(Term t)longNRTManager.TrackingIndexWriter. deleteDocuments(Term... terms)intIndexSearcher. docFreq(Term term)Returns total docFreq for this term.intMultiSearcher. docFreq(Term term)Deprecated.intParallelMultiSearcher. docFreq(Term term)Deprecated.Executes eachSearchable's docFreq() in its own thread and waits for each search to complete and merge the results back together.intRemoteSearchable. docFreq(Term term)Deprecated.intSearchable. docFreq(Term term)Deprecated.Expert: Returns the number of documents containingterm.abstract intSearcher. docFreq(Term term)Deprecated.int[]RemoteSearchable. docFreqs(Term[] terms)Deprecated.int[]Searchable. docFreqs(Term[] terms)Deprecated.Expert: For each term in the terms array, calculates the number of documents containingterm.int[]Searcher. docFreqs(Term[] terms)Deprecated.Explanation.IDFExplanationSimilarity. idfExplain(Term term, Searcher searcher)This method forwards toSimilarity.idfExplain(Term,Searcher,int)by passingsearcher.docFreq(term)as the docFreq.Explanation.IDFExplanationSimilarity. idfExplain(Term term, Searcher searcher, int docFreq)Computes a score factor for a simple term and returns an explanation for that score factor.protected abstract booleanFilteredTermEnum. termCompare(Term term)Equality compare on the termprotected booleanFuzzyTermEnum. termCompare(Term term)The termCompare method in FuzzyTermEnum uses Levenshtein distance to calculate the distance between the given term and the comparing term.protected booleanPrefixTermEnum. termCompare(Term term)protected booleanSingleTermEnum. termCompare(Term term)protected booleanTermRangeTermEnum. termCompare(Term term)protected booleanWildcardTermEnum. termCompare(Term term)longNRTManager.TrackingIndexWriter. updateDocument(Term t, Document d)longNRTManager.TrackingIndexWriter. updateDocument(Term t, Document d, Analyzer a)longNRTManager.TrackingIndexWriter. updateDocuments(Term t, Collection<Document> docs)longNRTManager.TrackingIndexWriter. updateDocuments(Term t, Collection<Document> docs, Analyzer a)Method parameters in org.apache.lucene.search with type arguments of type Term Modifier and Type Method Description voidBooleanQuery. extractTerms(Set<Term> terms)voidConstantScoreQuery. extractTerms(Set<Term> terms)voidDisjunctionMaxQuery. extractTerms(Set<Term> terms)voidFilteredQuery. extractTerms(Set<Term> terms)voidMatchAllDocsQuery. extractTerms(Set<Term> terms)voidMultiPhraseQuery. extractTerms(Set<Term> terms)voidPhraseQuery. extractTerms(Set<Term> queryTerms)voidQuery. extractTerms(Set<Term> terms)Expert: adds all terms occurring in this query to the terms set.voidTermQuery. extractTerms(Set<Term> terms)Explanation.IDFExplanationSimilarity. idfExplain(Collection<Term> terms, Searcher searcher)Computes a score factor for a phrase.Constructors in org.apache.lucene.search with parameters of type Term Constructor Description FuzzyQuery(Term term)FuzzyQuery(Term term, float minimumSimilarity)FuzzyQuery(Term term, float minimumSimilarity, int prefixLength)FuzzyQuery(Term term, float minimumSimilarity, int prefixLength, int maxExpansions)Create a new FuzzyQuery that will match terms with a similarity of at leastminimumSimilaritytoterm.FuzzyTermEnum(IndexReader reader, Term term)Creates a FuzzyTermEnum with an empty prefix and a minSimilarity of 0.5f.FuzzyTermEnum(IndexReader reader, Term term, float minSimilarity)Creates a FuzzyTermEnum with an empty prefix.FuzzyTermEnum(IndexReader reader, Term term, float minSimilarity, int prefixLength)Constructor for enumeration of all terms from specifiedreaderwhich share a prefix of lengthprefixLengthwithtermand which have a fuzzy similarity >minSimilarity.PrefixFilter(Term prefix)PrefixQuery(Term prefix)Constructs a query for terms starting withprefix.PrefixTermEnum(IndexReader reader, Term prefix)SingleTermEnum(IndexReader reader, Term singleTerm)Creates a newSingleTermEnum.TermQuery(Term t)Constructs a query for the termt.WildcardQuery(Term term)WildcardTermEnum(IndexReader reader, Term term)Creates a newWildcardTermEnum. -
Uses of Term in org.apache.lucene.search.function
Method parameters in org.apache.lucene.search.function with type arguments of type Term Modifier and Type Method Description voidCustomScoreQuery. extractTerms(Set<Term> terms)voidValueSourceQuery. extractTerms(Set<Term> terms) -
Uses of Term in org.apache.lucene.search.join
Method parameters in org.apache.lucene.search.join with type arguments of type Term Modifier and Type Method Description voidToChildBlockJoinQuery. extractTerms(Set<Term> terms)voidToParentBlockJoinQuery. extractTerms(Set<Term> terms)Constructors in org.apache.lucene.search.join with parameters of type Term Constructor Description RawTermFilter(Term term) -
Uses of Term in org.apache.lucene.search.payloads
Constructors in org.apache.lucene.search.payloads with parameters of type Term Constructor Description PayloadTermQuery(Term term, PayloadFunction function)PayloadTermQuery(Term term, PayloadFunction function, boolean includeSpanScore) -
Uses of Term in org.apache.lucene.search.regex
Methods in org.apache.lucene.search.regex that return Term Modifier and Type Method Description TermRegexQuery. getTerm()TermSpanRegexQuery. getTerm()Deprecated.Methods in org.apache.lucene.search.regex with parameters of type Term Modifier and Type Method Description protected booleanRegexTermEnum. termCompare(Term term)Constructors in org.apache.lucene.search.regex with parameters of type Term Constructor Description RegexQuery(Term term)Constructs a query for terms matchingterm.RegexTermEnum(IndexReader reader, Term term, RegexCapabilities regexImpl)SpanRegexQuery(Term term)Deprecated. -
Uses of Term in org.apache.lucene.search.spans
Fields in org.apache.lucene.search.spans declared as Term Modifier and Type Field Description protected TermSpanTermQuery. termprotected TermTermSpans. termFields in org.apache.lucene.search.spans with type parameters of type Term Modifier and Type Field Description protected Set<Term>SpanWeight. termsMethods in org.apache.lucene.search.spans that return Term Modifier and Type Method Description TermSpanTermQuery. getTerm()Return the term whose spans are matched.Method parameters in org.apache.lucene.search.spans with type arguments of type Term Modifier and Type Method Description voidFieldMaskingSpanQuery. extractTerms(Set<Term> terms)voidSpanNearQuery. extractTerms(Set<Term> terms)voidSpanNotQuery. extractTerms(Set<Term> terms)voidSpanOrQuery. extractTerms(Set<Term> terms)voidSpanPositionCheckQuery. extractTerms(Set<Term> terms)voidSpanTermQuery. extractTerms(Set<Term> terms)Constructors in org.apache.lucene.search.spans with parameters of type Term Constructor Description SpanTermQuery(Term term)Construct a SpanTermQuery matching the named term's spans.TermSpans(TermPositions positions, Term term) -
Uses of Term in org.apache.lucene.store.instantiated
Methods in org.apache.lucene.store.instantiated that return Term Modifier and Type Method Description TermInstantiatedTerm. getTerm()TermInstantiatedTermEnum. term()Returns the current Term in the enumeration.Methods in org.apache.lucene.store.instantiated with parameters of type Term Modifier and Type Method Description voidInstantiatedIndexWriter. deleteDocuments(Term term)Deprecated.voidInstantiatedIndexWriter. deleteDocuments(Term[] terms)Deprecated.intInstantiatedIndexReader. docFreq(Term t)Deprecated.voidInstantiatedTermDocs. seek(Term term)TermDocsInstantiatedIndexReader. termDocs(Term term)Deprecated.TermEnumInstantiatedIndexReader. terms(Term t)Deprecated.voidInstantiatedIndexWriter. updateDocument(Term term, Document doc)Deprecated.voidInstantiatedIndexWriter. updateDocument(Term term, Document doc, Analyzer analyzer)Deprecated.
-