org.galagosearch.core.store
Class DocumentIndexStore

java.lang.Object
  extended by org.galagosearch.core.store.DocumentIndexStore
All Implemented Interfaces:
DocumentStore

public class DocumentIndexStore
extends java.lang.Object
implements DocumentStore

A DocumentStore that reads document data from corpus files.

A DocumentIndexStore checks the corpus files sequentially until it finds a matching document.

Author:
trevor

Constructor Summary
DocumentIndexStore(DocumentIndexReader reader)
           
DocumentIndexStore(java.util.List<DocumentIndexReader> readers)
           
 
Method Summary
 void close()
           
 Document get(java.lang.String identifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentIndexStore

public DocumentIndexStore(DocumentIndexReader reader)

DocumentIndexStore

public DocumentIndexStore(java.util.List<DocumentIndexReader> readers)
Method Detail

get

public Document get(java.lang.String identifier)
             throws java.io.IOException
Specified by:
get in interface DocumentStore
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface DocumentStore
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.