You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2008/01/04 15:34:25 UTC
[Lucene-hadoop Wiki] Trivial Update of "DistributedLucene" by MarkButler
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.
The following page has been changed by MarkButler:
http://wiki.apache.org/lucene-hadoop/DistributedLucene
------------------------------------------------------------------------------
public interface ClientAPI {
void createIndex(String index, boolean sharded) throws IOException;
String[] getIndexes();
- void addIndex(String index, String indexToAdd) throws IOException;
void addDocument(String index, Document doc) throws IOException;
int removeDocuments(String index, Term term) throws IOException; // Change here, Doug suggested int[] but that is different to current Lucene API
void commit(String index) throws IOException;