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] Trivial Update of "DistributedLucene" by MarkButler
Date Thu, 20 Dec 2007 17:26:45 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

------------------------------------------------------------------------------
    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 commitVersion(String index) throws IOException;
- 
-   // batch update
- 
    void addIndex(String index) throws IOException; // Shouldn't this be called createIndex
?
    void addIndex(String index, IndexLocation indexToAdd) throws IOException;
- 
-   // search
- 
    SearchResults search(IndexVersion i, Query query, Sort sort, int n) throws IOException;
  }
  }}}
@@ -191, +185 @@

  
  {{{
  public interface ClientAPI {
- 
    void createIndex(String index, boolean sharded) throws IOException;
- 
-   // Use IndexVersion because the client API does not need to know where the data is
- 
    IndexVersion[] getSearchableIndexes();
    IndexVersion[] getUpdateableIndexes();
    void addIndex(String index, IndexVersion indexToAdd) throws IOException;

Mime
View raw message