Package | Description |
---|---|
org.apache.lucene.facet.taxonomy |
Taxonomy of Categories.
|
org.apache.lucene.replicator.nrt |
Near-real-time replication framework
|
org.apache.lucene.search |
Code to search indices.
|
Constructor and Description |
---|
SearcherTaxonomyManager(Directory indexDir,
Directory taxoDir,
SearcherFactory searcherFactory)
Creates search and taxonomy readers over the corresponding directories.
|
SearcherTaxonomyManager(IndexReader reader,
DirectoryTaxonomyReader taxoReader,
SearcherFactory searcherFactory)
Creates this from already opened
IndexReader and DirectoryTaxonomyReader instances. |
SearcherTaxonomyManager(IndexWriter writer,
boolean applyAllDeletes,
SearcherFactory searcherFactory,
DirectoryTaxonomyWriter taxoWriter)
Expert: creates near-real-time searcher and taxonomy reader
from the corresponding writers, controlling whether deletes should be applied.
|
SearcherTaxonomyManager(IndexWriter writer,
SearcherFactory searcherFactory,
DirectoryTaxonomyWriter taxoWriter)
Creates near-real-time searcher and taxonomy reader
from the corresponding writers.
|
Modifier and Type | Field and Description |
---|---|
protected SearcherFactory |
Node.searcherFactory |
Constructor and Description |
---|
Node(int id,
Directory dir,
SearcherFactory searcherFactory,
java.io.PrintStream printStream) |
PrimaryNode(IndexWriter writer,
int id,
long primaryGen,
long forcePrimaryVersion,
SearcherFactory searcherFactory,
java.io.PrintStream printStream) |
ReplicaNode(int id,
Directory dir,
SearcherFactory searcherFactory,
java.io.PrintStream printStream) |
Modifier and Type | Method and Description |
---|---|
static IndexSearcher |
SearcherManager.getSearcher(SearcherFactory searcherFactory,
IndexReader reader,
IndexReader previousReader)
Expert: creates a searcher from the provided
IndexReader using the provided SearcherFactory . |
Constructor and Description |
---|
SearcherManager(DirectoryReader reader,
SearcherFactory searcherFactory)
Creates and returns a new SearcherManager from an existing
DirectoryReader . |
SearcherManager(Directory dir,
SearcherFactory searcherFactory)
Creates and returns a new SearcherManager from the given
Directory . |
SearcherManager(IndexWriter writer,
boolean applyAllDeletes,
boolean writeAllDeletes,
SearcherFactory searcherFactory)
Expert: creates and returns a new SearcherManager from the given
IndexWriter , controlling whether past deletions should be applied. |
SearcherManager(IndexWriter writer,
SearcherFactory searcherFactory)
Creates and returns a new SearcherManager from the given
IndexWriter . |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.