Remove unused insert method from secondary index interface
The `insert` method is not used anywhere. The `replace` method is used instead. Change-Id: Ie47253149cacde9a0824e4dee4d80313acd33188
This commit is contained in:
@@ -38,24 +38,13 @@ public interface ChangeIndex {
|
||||
/** Close this index. */
|
||||
public void close();
|
||||
|
||||
/**
|
||||
* Insert a change document into the index.
|
||||
* <p>
|
||||
* Results may not be immediately visible to searchers, but should be visible
|
||||
* within a reasonable amount of time.
|
||||
*
|
||||
* @param cd change document
|
||||
*
|
||||
* @throws IOException if the change could not be inserted.
|
||||
*/
|
||||
public void insert(ChangeData cd) throws IOException;
|
||||
|
||||
/**
|
||||
* Update a change document in the index.
|
||||
* <p>
|
||||
* Semantically equivalent to deleting the document and reinserting it with
|
||||
* new field values. Results may not be immediately visible to searchers, but
|
||||
* should be visible within a reasonable amount of time.
|
||||
* new field values. A document that does not already exist is created. Results
|
||||
* may not be immediately visible to searchers, but should be visible within a
|
||||
* reasonable amount of time.
|
||||
*
|
||||
* @param cd change document
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user