| Package | Description |
|---|---|
| org.apache.lucene.facet.taxonomy |
Taxonomy of Categories
|
| org.apache.lucene.facet.taxonomy.directory |
Taxonomy index implementation using on top of a Directory.
|
| org.apache.lucene.index |
Misc index tools and index support.
|
| org.apache.lucene.index.sorter |
Provides index sorting capablities.
|
| org.apache.lucene.replicator |
Files replication framework
|
| org.apache.lucene.search |
Code to search indices.
|
| Constructor and Description |
|---|
SearcherTaxonomyManager(IndexWriter writer,
boolean applyAllDeletes,
SearcherFactory searcherFactory,
DirectoryTaxonomyWriter taxoWriter)
Creates near-real-time searcher and taxonomy reader
from the corresponding writers.
|
| Modifier and Type | Method and Description |
|---|---|
protected IndexWriter |
DirectoryTaxonomyWriter.openIndexWriter(Directory directory,
IndexWriterConfig config)
Open internal index writer, which contains the taxonomy data.
|
| Modifier and Type | Method and Description |
|---|---|
protected DirectoryReader |
DirectoryTaxonomyReader.openIndexReader(IndexWriter writer)
Open the
DirectoryReader from this IndexWriter. |
| Modifier and Type | Field and Description |
|---|---|
protected IndexWriter |
ConcurrentMergeScheduler.writer
IndexWriter that owns this instance. |
| Modifier and Type | Field and Description |
|---|---|
protected SetOnce<IndexWriter> |
MergePolicy.writer
IndexWriter that contains this instance. |
| Modifier and Type | Method and Description |
|---|---|
IndexWriter |
TrackingIndexWriter.getIndexWriter()
Return the wrapped
IndexWriter. |
| Modifier and Type | Method and Description |
|---|---|
protected DirectoryReader |
FilterDirectoryReader.doOpenIfChanged(IndexWriter writer,
boolean applyAllDeletes) |
protected abstract DirectoryReader |
DirectoryReader.doOpenIfChanged(IndexWriter writer,
boolean applyAllDeletes)
Implement this method to support
DirectoryReader.openIfChanged(DirectoryReader,IndexWriter,boolean). |
protected ConcurrentMergeScheduler.MergeThread |
ConcurrentMergeScheduler.getMergeThread(IndexWriter writer,
MergePolicy.OneMerge merge)
Create and return a new MergeThread
|
void |
SerialMergeScheduler.merge(IndexWriter writer,
MergeTrigger trigger,
boolean newMergesFound)
Just do the merges in sequence.
|
abstract void |
MergeScheduler.merge(IndexWriter writer,
MergeTrigger trigger,
boolean newMergesFound)
Run the merges provided by
getNextMerge(). |
void |
ConcurrentMergeScheduler.merge(IndexWriter writer,
MergeTrigger trigger,
boolean newMergesFound) |
void |
NoMergeScheduler.merge(IndexWriter writer,
MergeTrigger trigger,
boolean newMergesFound) |
static DirectoryReader |
IndexReader.open(IndexWriter writer,
boolean applyAllDeletes)
Deprecated.
|
static DirectoryReader |
DirectoryReader.open(IndexWriter writer,
boolean applyAllDeletes)
Open a near real time IndexReader from the
IndexWriter. |
static DirectoryReader |
DirectoryReader.openIfChanged(DirectoryReader oldReader,
IndexWriter writer,
boolean applyAllDeletes)
Expert: If there changes (committed or not) in the
IndexWriter versus what the provided reader is
searching, then open and return a new
IndexReader searching both committed and uncommitted
changes from the writer; else, return null (though, the
current implementation never returns null). |
void |
UpgradeIndexMergePolicy.setIndexWriter(IndexWriter writer) |
void |
NoMergePolicy.setIndexWriter(IndexWriter writer) |
void |
MergePolicy.setIndexWriter(IndexWriter writer)
Sets the
IndexWriter to use by this merge policy. |
| Constructor and Description |
|---|
ConcurrentMergeScheduler.MergeThread(IndexWriter writer,
MergePolicy.OneMerge startMerge)
Sole constructor.
|
ReaderManager(IndexWriter writer,
boolean applyAllDeletes)
Creates and returns a new ReaderManager from the given
IndexWriter. |
TrackingIndexWriter(IndexWriter writer)
Create a
TrackingIndexWriter wrapping the
provided IndexWriter. |
| Modifier and Type | Method and Description |
|---|---|
void |
SortingMergePolicy.setIndexWriter(IndexWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
IndexWriter |
IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter.getIndexWriter()
Returns the
IndexWriter used by this DirectoryTaxonomyWriter. |
protected IndexWriter |
IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter.openIndexWriter(Directory directory,
IndexWriterConfig config) |
| Constructor and Description |
|---|
IndexAndTaxonomyRevision(IndexWriter indexWriter,
IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter taxoWriter)
Constructor over the given
IndexWriter. |
IndexRevision(IndexWriter writer)
Constructor over the given
IndexWriter. |
| Constructor and Description |
|---|
SearcherManager(IndexWriter writer,
boolean applyAllDeletes,
SearcherFactory searcherFactory)
Creates and returns a new SearcherManager from the given
IndexWriter. |
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.