Permalink
Browse files

added getIndexCommit impl for zoie solr indexreader factory

  • Loading branch information...
1 parent f93e0b4 commit 27cc1d818b650e39b11010e722dbd7049682f652 @javasoze javasoze committed Jan 12, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 zoie-solr/src/main/java/proj/zoie/solr/ZoieSolrIndexReaderFactory.java
@@ -69,6 +69,11 @@ public InitialIndexReader(IndexReader in) {
}
@Override
+ public synchronized IndexCommit getIndexCommit() throws IOException{
+ return in.getIndexCommit();
+ }
+
+ @Override
public synchronized IndexReader reopen() throws CorruptIndexException,
IOException {
return reopen(true);

0 comments on commit 27cc1d8

Please sign in to comment.