1 // BSD License (http://www.galagosearch.org/license)
2
3 package org.galagosearch.core.store;
4
5 import java.io.IOException;
6 import org.galagosearch.core.parse.Document;
7
8 /***
9 * A very simple DocumentStore when the original document contents are not available.
10 *
11 * @author trevor
12 */
13 public class NullStore implements DocumentStore {
14 public Document get(String identifier) throws IOException {
15 Document document = new Document(identifier, "");
16 return document;
17 }
18
19 public void close() throws IOException {
20 }
21 }