| java.lang.Object org.apache.slide.index.lucene.Index
Index | public class Index (Code) | | Wrapper for Lucene index.
|
Constructor Summary | |
public | Index(IndexConfiguration configuration, Logger logger, String name) Counter for recently executed index jobs (insertions, deletions). |
CONTENT_FIELD_NAME | final public static String CONTENT_FIELD_NAME(Code) | | |
DATE_LOWER_BOUND | final public static String DATE_LOWER_BOUND(Code) | | |
DATE_UPPER_BOUND | final public static String DATE_UPPER_BOUND(Code) | | |
DEPTH_FIELD_NAME | final public static String DEPTH_FIELD_NAME(Code) | | |
INT_LOWER_BOUND | final public static String INT_LOWER_BOUND(Code) | | |
INT_UPPER_BOUND | final public static String INT_UPPER_BOUND(Code) | | |
IS_DEFINED_FIELD_NAME | final public static String IS_DEFINED_FIELD_NAME(Code) | | |
KEY_FIELD_NAME | final public static String KEY_FIELD_NAME(Code) | | |
NULL_FIELD_NAME | final public static String NULL_FIELD_NAME(Code) | | |
SCOPE_FIELD_NAME | final public static String SCOPE_FIELD_NAME(Code) | | |
STRING_INDEX_DATE_FORMATE | final public static String STRING_INDEX_DATE_FORMATE(Code) | | |
STRING_LOWER_BOUND | final public static String STRING_LOWER_BOUND(Code) | | |
STRING_UPPER_BOUND | final public static String STRING_UPPER_BOUND(Code) | | |
URI_FIELD_NAME | final public static String URI_FIELD_NAME(Code) | | |
VERSION_FIELD_NAME | final public static String VERSION_FIELD_NAME(Code) | | |
logger | protected Logger logger(Code) | | |
Index | public Index(IndexConfiguration configuration, Logger logger, String name) throws IndexException(Code) | | Counter for recently executed index jobs (insertions, deletions).
Will be reseted after optimization.
|
createLuceneDocument | public Document createLuceneDocument(String uri, NodeRevisionDescriptor descriptor, byte[] contentBuffer, ContentExtractor[] extractors) throws RevisionNotFoundException, ExtractorException(Code) | | Creates a lucene index document for a properties indexer.
Parameters: uri - resource Parameters: descriptor - properties to be indexed |
getLogger | public Logger getLogger()(Code) | | |
|
|