Class 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.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.lucene.search.IndexSearcher

        org.apache.lucene.search.IndexSearcher.LeafSlice
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private IndexingContext indexingContext  
      • Fields inherited from class org.apache.lucene.search.IndexSearcher

        leafContexts, readerContext
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IndexingContext getIndexingContext()  
      • Methods inherited from class org.apache.lucene.search.IndexSearcher

        collectionStatistics, count, createWeight, doc, doc, doc, explain, explain, getDefaultQueryCache, getDefaultQueryCachingPolicy, getDefaultSimilarity, getExecutor, getIndexReader, getQueryCache, getQueryCachingPolicy, getSimilarity, getSlices, getTopReaderContext, rewrite, search, search, search, search, search, search, searchAfter, searchAfter, searchAfter, setDefaultQueryCache, setDefaultQueryCachingPolicy, setQueryCache, setQueryCachingPolicy, setSimilarity, slices, termStatistics, termStatistics, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NexusIndexSearcher

        public NexusIndexSearcher​(org.apache.lucene.index.IndexReader reader)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • NexusIndexSearcher

        public NexusIndexSearcher​(IndexingContext indexingContext,
                                  org.apache.lucene.index.IndexReader reader)
                           throws java.io.IOException
        Throws:
        java.io.IOException