public class SimpleIndexer extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ID_FIELD |
static String |
DEFAULT_SIREN_FIELD |
Constructor and Description |
---|
SimpleIndexer(File path) |
public static final String DEFAULT_ID_FIELD
public static final String DEFAULT_SIREN_FIELD
public SimpleIndexer(File path) throws IOException
IOException
public void close() throws IOException
IOException
public void addDocument(String id, String json) throws IOException
IOException
public void commit() throws IOException
IOException
Copyright © 2014. All rights reserved.