Package org.apache.maven.index.context
Class NexusIndexSearcher
java.lang.Object
org.apache.lucene.search.IndexSearcher
org.apache.maven.index.context.NexusIndexSearcher
- Direct Known Subclasses:
NexusIndexMultiSearcher
public class NexusIndexSearcher
extends org.apache.lucene.search.IndexSearcher
An extended Searcher, that holds reference to the IndexingContext that is a searcher for. Needed to provide "extra"
data for search hits, that are not on index, and support ArtifactInfoPostprocessor's.
- Author:
- cstamas
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.IndexSearcher
org.apache.lucene.search.IndexSearcher.LeafSlice, org.apache.lucene.search.IndexSearcher.TooManyClauses, org.apache.lucene.search.IndexSearcher.TooManyNestedClauses
-
Field Summary
Fields inherited from class org.apache.lucene.search.IndexSearcher
leafContexts, readerContext
-
Constructor Summary
ConstructorDescriptionNexusIndexSearcher
(org.apache.lucene.index.IndexReader reader) NexusIndexSearcher
(IndexingContext indexingContext, org.apache.lucene.index.IndexReader reader) -
Method Summary
Methods inherited from class org.apache.lucene.search.IndexSearcher
collectionStatistics, count, createWeight, doc, doc, doc, explain, explain, getDefaultQueryCache, getDefaultQueryCachingPolicy, getDefaultSimilarity, getExecutor, getIndexReader, getLeafContexts, getMaxClauseCount, getQueryCache, getQueryCachingPolicy, getSimilarity, getSlices, getTaskExecutor, getTimeout, getTopReaderContext, rewrite, search, search, search, search, search, search, searchAfter, searchAfter, searchAfter, setDefaultQueryCache, setDefaultQueryCachingPolicy, setMaxClauseCount, setQueryCache, setQueryCachingPolicy, setSimilarity, setTimeout, slices, slices, storedFields, termStatistics, timedOut, toString
-
Constructor Details
-
NexusIndexSearcher
- Throws:
IOException
-
NexusIndexSearcher
public NexusIndexSearcher(IndexingContext indexingContext, org.apache.lucene.index.IndexReader reader) throws IOException - Throws:
IOException
-
-
Method Details
-
getIndexingContext
-