public class OLuceneTxChangesSingleRid extends OLuceneTxChangesAbstract
deletedIdx, engine, TMP, writer
Constructor and Description |
---|
OLuceneTxChangesSingleRid(OLuceneIndexEngine engine,
org.apache.lucene.index.IndexWriter writer,
org.apache.lucene.index.IndexWriter deletedIdx) |
Modifier and Type | Method and Description |
---|---|
Set<org.apache.lucene.document.Document> |
getDeletedDocs() |
boolean |
isDeleted(org.apache.lucene.document.Document document,
Object key,
OIdentifiable value) |
boolean |
isUpdated(org.apache.lucene.document.Document document,
Object key,
OIdentifiable value) |
long |
numDocs() |
void |
put(Object key,
OIdentifiable value,
org.apache.lucene.document.Document doc) |
void |
remove(Object key,
OIdentifiable value) |
deletedDocs, searcher
public OLuceneTxChangesSingleRid(OLuceneIndexEngine engine, org.apache.lucene.index.IndexWriter writer, org.apache.lucene.index.IndexWriter deletedIdx)
public void put(Object key, OIdentifiable value, org.apache.lucene.document.Document doc)
public void remove(Object key, OIdentifiable value)
public long numDocs()
public Set<org.apache.lucene.document.Document> getDeletedDocs()
public boolean isDeleted(org.apache.lucene.document.Document document, Object key, OIdentifiable value)
public boolean isUpdated(org.apache.lucene.document.Document document, Object key, OIdentifiable value)
Copyright © 2009–2020 OrientDB. All rights reserved.