Package | Description |
---|---|
org.apache.lucene.classification |
Uses already seen data (the indexed documents) to classify new documents.
|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.facet |
faceted search
|
org.apache.lucene.facet.range |
Provides range faceting capabilities.
|
org.apache.lucene.facet.taxonomy |
Taxonomy of Categories
|
org.apache.lucene.index |
Misc index tools and index support.
|
org.apache.lucene.index.memory |
High-performance single-document main memory Apache Lucene fulltext search index.
|
org.apache.lucene.index.sorter |
Provides index sorting capablities.
|
org.apache.lucene.queries |
Filters and Queries that add to core Lucene.
|
org.apache.lucene.queries.function |
Queries that compute score based upon a function
|
org.apache.lucene.queries.function.valuesource |
A variety of functions to use with FunctionQuery.
|
org.apache.lucene.queries.mlt |
Document similarity query generators.
|
org.apache.lucene.queryparser.analyzing |
QueryParser that passes Fuzzy-, Prefix-, Range-, and WildcardQuerys through the given analyzer.
|
org.apache.lucene.queryparser.classic |
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.ext |
Extendable QueryParser provides a simple and flexible extension mechanism by overloading query field names.
|
org.apache.lucene.queryparser.flexible.standard |
Implementation of the Lucene classic query parser using the flexible query parser frameworks
|
org.apache.lucene.queryparser.flexible.standard.builders |
Standard Lucene Query Node Builders.
|
org.apache.lucene.queryparser.flexible.standard.config |
Standard Lucene Query Configuration.
|
org.apache.lucene.queryparser.simple |
A simple query parser for human-entered queries.
|
org.apache.lucene.queryparser.surround.query |
This package contains SrndQuery and its subclasses.
|
org.apache.lucene.queryparser.xml |
Parser that produces Lucene Query objects from XML streams.
|
org.apache.lucene.queryparser.xml.builders |
XML Parser factories for different Lucene Query/Filters.
|
org.apache.lucene.sandbox.queries |
Additional queries (some may have caveats or limitations)
|
org.apache.lucene.sandbox.queries.regex |
Regular expression Query.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.grouping |
This module enables search result grouping with Lucene, where hits
with the same value in the specified single-valued group field are
grouped together.
|
org.apache.lucene.search.grouping.function |
Support for grouping by
ValueSource . |
org.apache.lucene.search.grouping.term |
Support for grouping by indexed terms via
FieldCache . |
org.apache.lucene.search.highlight |
The highlight package contains classes to provide "keyword in context" features
typically used to highlight search terms in the text of results pages.
|
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.postingshighlight |
Highlighter implementation that uses offsets from postings lists.
|
org.apache.lucene.search.similarities |
This package contains the various ranking models that can be used in Lucene.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
org.apache.lucene.search.suggest.analyzing |
Analyzer based autosuggest.
|
org.apache.lucene.search.vectorhighlight |
This is an another highlighter implementation.
|
org.apache.lucene.util |
Some utility classes.
|
org.apache.lucene.util.packed |
Packed integer arrays and streams.
|
Class and Description |
---|
Query
The abstract base class for queries.
|
Class and Description |
---|
DocIdSetIterator
This abstract class defines methods to iterate over a set of non-decreasing
doc ids.
|
Class and Description |
---|
Collector
Expert: Collectors are primarily meant to be used to
gather raw results from a search, and implement sorting
or custom result filtering, collation, etc.
|
DocIdSet
A DocIdSet contains a set of doc ids.
|
FieldDoc
Expert: A ScoreDoc which also contains information about
how to sort the referenced document.
|
Filter
Abstract base class for restricting which documents may
be returned during searching.
|
IndexSearcher
Implements search over a single IndexReader.
|
Query
The abstract base class for queries.
|
ScoreDoc
Holds one hit in
TopDocs . |
Scorer
Expert: Common scoring functionality for different types of queries.
|
Sort
Encapsulates sort criteria for returned hits.
|
TopDocs
Represents hits returned by
IndexSearcher.search(Query,Filter,int) and IndexSearcher.search(Query,int) . |
TopFieldDocs
Represents hits returned by
IndexSearcher.search(Query,Filter,int,Sort) . |
Class and Description |
---|
Filter
Abstract base class for restricting which documents may
be returned during searching.
|
Class and Description |
---|
IndexSearcher
Implements search over a single IndexReader.
|
ReferenceManager
Utility class to safely share instances of a certain type across multiple
threads, while periodically refreshing them.
|
SearcherFactory
Factory class used by
SearcherManager to
create new IndexSearchers. |
Class and Description |
---|
DocIdSetIterator
This abstract class defines methods to iterate over a set of non-decreasing
doc ids.
|
Filter
Abstract base class for restricting which documents may
be returned during searching.
|
Query
The abstract base class for queries.
|
ReferenceManager
Utility class to safely share instances of a certain type across multiple
threads, while periodically refreshing them.
|
Class and Description |
---|
IndexSearcher
Implements search over a single IndexReader.
|
Query
The abstract base class for queries.
|
Class and Description |
---|
Collector
Expert: Collectors are primarily meant to be used to
gather raw results from a search, and implement sorting
or custom result filtering, collation, etc.
|
FieldComparator
Expert: a FieldComparator compares hits so as to determine their
sort order when collecting the top results with
TopFieldCollector . |
FieldComparatorSource
Provides a
FieldComparator for custom field sorting. |
Filter
Abstract base class for restricting which documents may
be returned during searching.
|
Scorer
Expert: Common scoring functionality for different types of queries.
|
Sort
Encapsulates sort criteria for returned hits.
|
Class and Description |
---|
BooleanClause.Occur
Specifies how clauses are to occur in matching documents.
|
DocIdSet
A DocIdSet contains a set of doc ids.
|
Explanation
Expert: Describes the score computation for document and query.
|
Filter
Abstract base class for restricting which documents may
be returned during searching.
|
IndexSearcher
Implements search over a single IndexReader.
|
Query
The abstract base class for queries.
|
Weight
Expert: Calculate query weights and build query scorers.
|
Class and Description |
---|
DocIdSetIterator
This abstract class defines methods to iterate over a set of non-decreasing
doc ids.
|
Explanation
Expert: Describes the score computation for document and query.
|
IndexSearcher
Implements search over a single IndexReader.
|
Query
The abstract base class for queries.
|
Scorer
Expert: Common scoring functionality for different types of queries.
|
SortField
Stores information about how to sort documents by terms in an individual
field.
|
Weight
Expert: Calculate query weights and build query scorers.
|
Class and Description |
---|
FieldCache
Expert: Maintains caches of term values.
|
FieldCache.ByteParser
Deprecated.
|
FieldCache.DoubleParser
Interface to parse doubles from document fields.
|
FieldCache.FloatParser
Interface to parse floats from document fields.
|
FieldCache.IntParser
Interface to parse ints from document fields.
|
FieldCache.LongParser
Interface to parse long from document fields.
|
FieldCache.ShortParser
Deprecated.
|
IndexSearcher
Implements search over a single IndexReader.
|
Query
The abstract base class for queries.
|
Class and Description |
---|
Query
The abstract base class for queries.
|
Class and Description |
---|
Query
The abstract base class for queries.
|
Class and Description |
---|
BooleanClause
A clause in a BooleanQuery.
|
BooleanClause.Occur
Specifies how clauses are to occur in matching documents.
|
MultiTermQuery.RewriteMethod
Abstract class that defines how the query is rewritten.
|
Query
The abstract base class for queries.
|
Class and Description |
---|
Query
The abstract base class for queries.
|
Class and Description |
---|
Query
The abstract base class for queries.
|
Class and Description |
---|
BooleanClause.Occur
Specifies how clauses are to occur in matching documents.
|
MultiTermQuery.RewriteMethod
Abstract class that defines how the query is rewritten.
|
Query
The abstract base class for queries.
|
Class and Description |
---|
BooleanQuery
A Query that matches documents matching boolean combinations of other
queries, e.g.
|
FuzzyQuery
Implements the fuzzy search query.
|
MatchAllDocsQuery
A query that matches all documents.
|
MultiPhraseQuery
MultiPhraseQuery is a generalized version of PhraseQuery, with an added
method
MultiPhraseQuery.add(Term[]) . |
NumericRangeQuery
A
Query that matches numeric values within a
specified range. |
PhraseQuery
A Query that matches documents containing a particular sequence of terms.
|
PrefixQuery
A Query that matches documents containing terms with a specified prefix.
|
Query
The abstract base class for queries.
|
RegexpQuery
A fast regular expression query based on the
org.apache.lucene.util.automaton package. |
TermQuery
A Query that matches documents containing a term.
|
TermRangeQuery
A Query that matches documents within an range of terms.
|
WildcardQuery
Implements the wildcard search query.
|
Class and Description |
---|
MultiTermQuery.RewriteMethod
Abstract class that defines how the query is rewritten.
|
Class and Description |
---|
BooleanClause.Occur
Specifies how clauses are to occur in matching documents.
|
BooleanQuery
A Query that matches documents matching boolean combinations of other
queries, e.g.
|
Query
The abstract base class for queries.
|
Class and Description |
---|
Query
The abstract base class for queries.
|
TermQuery
A Query that matches documents containing a term.
|
Class and Description |
---|
Filter
Abstract base class for restricting which documents may
be returned during searching.
|
Query
The abstract base class for queries.
|
Class and Description |
---|
Filter
Abstract base class for restricting which documents may
be returned during searching.
|
Query
The abstract base class for queries.
|
Class and Description |
---|
DocIdSet
A DocIdSet contains a set of doc ids.
|
FieldComparator
Expert: a FieldComparator compares hits so as to determine their
sort order when collecting the top results with
TopFieldCollector . |
Filter
Abstract base class for restricting which documents may
be returned during searching.
|
FuzzyTermsEnum
Subclass of TermsEnum for enumerating all terms that are similar
to the specified filter term.
|
MultiTermQuery
An abstract
Query that matches documents
containing a subset of terms provided by a FilteredTermsEnum enumeration. |
MultiTermQueryWrapperFilter
A wrapper for
MultiTermQuery , that exposes its
functionality as a Filter . |
Query
The abstract base class for queries.
|
SortField
Stores information about how to sort documents by terms in an individual
field.
|
Class and Description |
---|
MultiTermQuery
An abstract
Query that matches documents
containing a subset of terms provided by a FilteredTermsEnum enumeration. |
Query
The abstract base class for queries.
|
Class and Description |
---|
AutomatonQuery
A
Query that will match terms against a finite-state machine. |
BooleanClause
A clause in a BooleanQuery.
|
BooleanClause.Occur
Specifies how clauses are to occur in matching documents.
|
BooleanQuery
A Query that matches documents matching boolean combinations of other
queries, e.g.
|
BoostAttribute
Add this
Attribute to a TermsEnum returned by MultiTermQuery.getTermsEnum(Terms,AttributeSource)
and update the boost on each returned term. |
BulkScorer
This class is used to score a range of documents at
once, and is returned by
Weight.bulkScorer(org.apache.lucene.index.AtomicReaderContext, boolean, org.apache.lucene.util.Bits) . |
CachingCollector
Caches all docs, and optionally also scores, coming from
a search, and is then able to replay them to another
collector.
|
CollectionStatistics
Contains statistics for a collection (field)
|
Collector
Expert: Collectors are primarily meant to be used to
gather raw results from a search, and implement sorting
or custom result filtering, collation, etc.
|
DisjunctionMaxQuery
A query that generates the union of documents produced by its subqueries, and that scores each document with the maximum
score for that document as produced by any subquery, plus a tie breaking increment for any additional matching subqueries.
|
DocIdSet
A DocIdSet contains a set of doc ids.
|
DocIdSetIterator
This abstract class defines methods to iterate over a set of non-decreasing
doc ids.
|
DocTermOrdsRangeFilter
A range filter built on top of a cached multi-valued term field (in
FieldCache ). |
Explanation
Expert: Describes the score computation for document and query.
|
FieldCache
Expert: Maintains caches of term values.
|
FieldCache.ByteParser
Deprecated.
|
FieldCache.Bytes
Field values as 8-bit signed bytes
|
FieldCache.CacheEntry
EXPERT: A unique Identifier/Description for each item in the FieldCache.
|
FieldCache.DoubleParser
Interface to parse doubles from document fields.
|
FieldCache.Doubles
Field values as 64-bit doubles
|
FieldCache.FloatParser
Interface to parse floats from document fields.
|
FieldCache.Floats
Field values as 32-bit floats
|
FieldCache.IntParser
Interface to parse ints from document fields.
|
FieldCache.Ints
Field values as 32-bit signed integers
|
FieldCache.LongParser
Interface to parse long from document fields.
|
FieldCache.Longs
Field values as 64-bit signed long integers
|
FieldCache.Parser
Marker interface as super-interface to all parsers.
|
FieldCache.ShortParser
Deprecated.
|
FieldCache.Shorts
Field values as 16-bit signed shorts
|
FieldCacheRangeFilter
A range filter built on top of a cached single term field (in
FieldCache ). |
FieldComparator
Expert: a FieldComparator compares hits so as to determine their
sort order when collecting the top results with
TopFieldCollector . |
FieldComparator.NumericComparator
Base FieldComparator class for numeric types
|
FieldComparatorSource
Provides a
FieldComparator for custom field sorting. |
FieldDoc
Expert: A ScoreDoc which also contains information about
how to sort the referenced document.
|
FieldValueHitQueue
Expert: A hit queue for sorting by hits by terms in more than one field.
|
FieldValueHitQueue.Entry
Extension of ScoreDoc to also store the
FieldComparator slot. |
Filter
Abstract base class for restricting which documents may
be returned during searching.
|
FilteredDocIdSet
Abstract decorator class for a DocIdSet implementation
that provides on-demand filtering/validation
mechanism on a given DocIdSet.
|
FilteredQuery.FilterStrategy
Abstract class that defines how the filter (
DocIdSet ) applied during document collection. |
FuzzyTermsEnum.LevenshteinAutomataAttribute
reuses compiled automata across different segments,
because they are independent of the index
|
IndexSearcher
Implements search over a single IndexReader.
|
IndexSearcher.LeafSlice
A class holding a subset of the
IndexSearcher s leaf contexts to be
executed within a single thread. |
MaxNonCompetitiveBoostAttribute
Add this
Attribute to a fresh AttributeSource before calling
MultiTermQuery.getTermsEnum(Terms,AttributeSource) . |
MultiTermQuery
An abstract
Query that matches documents
containing a subset of terms provided by a FilteredTermsEnum enumeration. |
MultiTermQuery.RewriteMethod
Abstract class that defines how the query is rewritten.
|
MultiTermQueryWrapperFilter
A wrapper for
MultiTermQuery , that exposes its
functionality as a Filter . |
NumericRangeFilter
A
Filter that only accepts numeric values within
a specified range. |
NumericRangeQuery
A
Query that matches numeric values within a
specified range. |
PhraseQuery
A Query that matches documents containing a particular sequence of terms.
|
Query
The abstract base class for queries.
|
ReferenceManager
Utility class to safely share instances of a certain type across multiple
threads, while periodically refreshing them.
|
ReferenceManager.RefreshListener
Use to receive notification when a refresh has
finished.
|
Rescorer
Re-scores the topN results (
TopDocs ) from an original
query. |
ScoreDoc
Holds one hit in
TopDocs . |
Scorer
Expert: Common scoring functionality for different types of queries.
|
Scorer.ChildScorer
A child Scorer and its relationship to its parent.
|
ScoringRewrite
Base rewrite method that translates each term into a query, and keeps
the scores as computed by the query.
|
SearcherFactory
Factory class used by
SearcherManager to
create new IndexSearchers. |
SearcherLifetimeManager.Pruner |
Sort
Encapsulates sort criteria for returned hits.
|
SortField
Stores information about how to sort documents by terms in an individual
field.
|
SortField.Type
Specifies the type of the terms to be sorted, or special types such as CUSTOM
|
TermRangeFilter
A Filter that restricts search results to a range of term
values in a given field.
|
TermRangeQuery
A Query that matches documents within an range of terms.
|
TermStatistics
Contains statistics for a specific term
|
TimeLimitingCollector.TimerThread
Thread used to timeout search requests.
|
TopDocs
Represents hits returned by
IndexSearcher.search(Query,Filter,int) and IndexSearcher.search(Query,int) . |
TopDocsCollector
A base class for all collectors that return a
TopDocs output. |
TopFieldCollector |
TopFieldDocs
Represents hits returned by
IndexSearcher.search(Query,Filter,int,Sort) . |
TopScoreDocCollector |
TopTermsRewrite
Base rewrite method for collecting only the top terms
via a priority queue.
|
Weight
Expert: Calculate query weights and build query scorers.
|
Class and Description |
---|
Collector
Expert: Collectors are primarily meant to be used to
gather raw results from a search, and implement sorting
or custom result filtering, collation, etc.
|
Filter
Abstract base class for restricting which documents may
be returned during searching.
|
IndexSearcher
Implements search over a single IndexReader.
|
Query
The abstract base class for queries.
|
ScoreDoc
Holds one hit in
TopDocs . |
Scorer
Expert: Common scoring functionality for different types of queries.
|
Sort
Encapsulates sort criteria for returned hits.
|
SortField
Stores information about how to sort documents by terms in an individual
field.
|
TopDocsCollector
A base class for all collectors that return a
TopDocs output. |
Class and Description |
---|
Collector
Expert: Collectors are primarily meant to be used to
gather raw results from a search, and implement sorting
or custom result filtering, collation, etc.
|
Scorer
Expert: Common scoring functionality for different types of queries.
|
Sort
Encapsulates sort criteria for returned hits.
|
Class and Description |
---|
Collector
Expert: Collectors are primarily meant to be used to
gather raw results from a search, and implement sorting
or custom result filtering, collation, etc.
|
Sort
Encapsulates sort criteria for returned hits.
|
Class and Description |
---|
Query
The abstract base class for queries.
|
Class and Description |
---|
CachingWrapperFilter
Wraps another
Filter 's result and caches it. |
Collector
Expert: Collectors are primarily meant to be used to
gather raw results from a search, and implement sorting
or custom result filtering, collation, etc.
|
DocIdSet
A DocIdSet contains a set of doc ids.
|
FieldComparator
Expert: a FieldComparator compares hits so as to determine their
sort order when collecting the top results with
TopFieldCollector . |
Filter
Abstract base class for restricting which documents may
be returned during searching.
|
IndexSearcher
Implements search over a single IndexReader.
|
Query
The abstract base class for queries.
|
Scorer
Expert: Common scoring functionality for different types of queries.
|
Sort
Encapsulates sort criteria for returned hits.
|
SortField
Stores information about how to sort documents by terms in an individual
field.
|
SortField.Type
Specifies the type of the terms to be sorted, or special types such as CUSTOM
|
Weight
Expert: Calculate query weights and build query scorers.
|
Class and Description |
---|
DocIdSetIterator
This abstract class defines methods to iterate over a set of non-decreasing
doc ids.
|
Explanation
Expert: Describes the score computation for document and query.
|
IndexSearcher
Implements search over a single IndexReader.
|
Query
The abstract base class for queries.
|
Scorer
Expert: Common scoring functionality for different types of queries.
|
Weight
Expert: Calculate query weights and build query scorers.
|
Class and Description |
---|
IndexSearcher
Implements search over a single IndexReader.
|
Query
The abstract base class for queries.
|
TopDocs
Represents hits returned by
IndexSearcher.search(Query,Filter,int) and IndexSearcher.search(Query,int) . |
Class and Description |
---|
CollectionStatistics
Contains statistics for a collection (field)
|
Explanation
Expert: Describes the score computation for document and query.
|
TermStatistics
Contains statistics for a specific term
|
Class and Description |
---|
DocIdSetIterator
This abstract class defines methods to iterate over a set of non-decreasing
doc ids.
|
Explanation
Expert: Describes the score computation for document and query.
|
IndexSearcher
Implements search over a single IndexReader.
|
MultiTermQuery
An abstract
Query that matches documents
containing a subset of terms provided by a FilteredTermsEnum enumeration. |
MultiTermQuery.RewriteMethod
Abstract class that defines how the query is rewritten.
|
Query
The abstract base class for queries.
|
Scorer
Expert: Common scoring functionality for different types of queries.
|
Weight
Expert: Calculate query weights and build query scorers.
|
Class and Description |
---|
BooleanQuery
A Query that matches documents matching boolean combinations of other
queries, e.g.
|
IndexSearcher
Implements search over a single IndexReader.
|
Query
The abstract base class for queries.
|
SearcherManager
Utility class to safely share
IndexSearcher instances across multiple
threads, while periodically reopening. |
TopFieldDocs
Represents hits returned by
IndexSearcher.search(Query,Filter,int,Sort) . |
Class and Description |
---|
Query
The abstract base class for queries.
|
Class and Description |
---|
BooleanClause.Occur
Specifies how clauses are to occur in matching documents.
|
BooleanQuery
A Query that matches documents matching boolean combinations of other
queries, e.g.
|
DocIdSet
A DocIdSet contains a set of doc ids.
|
DocIdSetIterator
This abstract class defines methods to iterate over a set of non-decreasing
doc ids.
|
FieldCache
Expert: Maintains caches of term values.
|
FieldCache.CacheEntry
EXPERT: A unique Identifier/Description for each item in the FieldCache.
|
MultiPhraseQuery
MultiPhraseQuery is a generalized version of PhraseQuery, with an added
method
MultiPhraseQuery.add(Term[]) . |
PhraseQuery
A Query that matches documents containing a particular sequence of terms.
|
Query
The abstract base class for queries.
|
Class and Description |
---|
DocIdSet
A DocIdSet contains a set of doc ids.
|
DocIdSetIterator
This abstract class defines methods to iterate over a set of non-decreasing
doc ids.
|
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.