|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.lucene.index.IndexWriter
org.mtzky.lucene.LuceneIndexWriter<E>
E - entitypublic class LuceneIndexWriter<E>
IndexWriter| 入れ子のクラスの概要 |
|---|
| クラス org.apache.lucene.index.IndexWriter から継承された入れ子のクラス/インタフェース |
|---|
IndexWriter.IndexReaderWarmer, IndexWriter.MaxFieldLength |
| フィールドの概要 |
|---|
| クラス org.apache.lucene.index.IndexWriter から継承されたフィールド |
|---|
DEFAULT_MAX_BUFFERED_DELETE_TERMS, DEFAULT_MAX_BUFFERED_DOCS, DEFAULT_MAX_FIELD_LENGTH, DEFAULT_RAM_BUFFER_SIZE_MB, DEFAULT_TERM_INDEX_INTERVAL, DISABLE_AUTO_FLUSH, MAX_TERM_LENGTH, WRITE_LOCK_NAME, WRITE_LOCK_TIMEOUT |
| コンストラクタの概要 | |
|---|---|
LuceneIndexWriter(Directory d,
LuceneDocumentDesc<E> desc)
|
|
| メソッドの概要 | |
|---|---|
void |
addDocument(E entity)
|
void |
close()
|
void |
deleteDocument(E entity)
Deletes Document by ID. |
void |
deleteDocumentById(Object value)
Deletes Document by ID value. |
boolean |
isClosed()
|
void |
updateDocument(E entity)
Updates Document by ID. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public LuceneIndexWriter(Directory d,
LuceneDocumentDesc<E> desc)
throws CorruptIndexException,
LockObtainFailedException,
IOException
d - Documentdesc - LuceneDocumentDesc
CorruptIndexException
LockObtainFailedException
IOException| メソッドの詳細 |
|---|
public void addDocument(E entity)
throws CorruptIndexException,
IOException
entity -
CorruptIndexException
IOExceptionIndexWriter.addDocument(Document)
public void updateDocument(E entity)
throws CorruptIndexException,
IOException
Updates Document by ID.
entity -
CorruptIndexException
IOExceptionIndexWriter.updateDocument(Term, Document)
public void deleteDocument(E entity)
throws CorruptIndexException,
IOException
Deletes Document by ID.
entity -
CorruptIndexException
IOExceptionIndexWriter.deleteDocuments(Term)
public void deleteDocumentById(Object value)
throws CorruptIndexException,
IOException
Deletes Document by ID value.
value -
CorruptIndexException
IOExceptionIndexWriter.deleteDocuments(Term)public boolean isClosed()
Closable 内の isClosed
public void close()
throws IOException
Closeable 内の closeIndexWriter 内の closeIOException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||