Constructor IndexSearcher
IndexSearcher(IndexReader)
Creates a searcher searching the provided index.
Declaration
public IndexSearcher(IndexReader r)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | r |
IndexSearcher(IndexReader, TaskScheduler)
Runs searches for each segment separately, using the
provided
@lucene.experimental
Declaration
public IndexSearcher(IndexReader r, TaskScheduler executor)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | r | |
TaskScheduler | executor |
IndexSearcher(IndexReaderContext, TaskScheduler)
Creates a searcher searching the provided top-level IndexReaderContext.
Given a non-null
@lucene.experimental
Declaration
public IndexSearcher(IndexReaderContext context, TaskScheduler executor)
Parameters
Type | Name | Description |
---|---|---|
IndexReaderContext | context | |
TaskScheduler | executor |
See Also
IndexSearcher(IndexReaderContext)
Creates a searcher searching the provided top-level IndexReaderContext.
@lucene.experimental
Declaration
public IndexSearcher(IndexReaderContext context)
Parameters
Type | Name | Description |
---|---|---|
IndexReaderContext | context |