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:32:59 UTC
[Lucene-hadoop Wiki] 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
The comment on the change is:
Removing references to IndexVersion in the client API for sharding
------------------------------------------------------------------------------
{{{
public interface ClientAPI {
void createIndex(String index, boolean sharded) throws IOException;
+ String[] getIndexes();
- IndexVersion[] getSearchableIndexes();
- IndexVersion[] getUpdateableIndexes();
- void addIndex(String index, IndexVersion indexToAdd) throws IOException;
+ 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
- IndexVersion commit(String index) throws IOException;
+ void commit(String index) throws IOException;
- SearchResults search(IndexVersion i, Query query, Sort sort, int n) throws IOException;
+ SearchResults search(String index, Query query, Sort sort, int n) throws IOException;
}
}}}