hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "DistributedLucene" by MarkButler
Date Fri, 04 Jan 2008 14:32:59 GMT
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;
  }
  }}}
  

Mime
View raw message