| java.lang.Object org.apache.slide.index.lucene.IndexConfiguration
IndexConfiguration | public class IndexConfiguration (Code) | | Holds all configuration infos about indexing.
|
Inner Class :class AnalyzerImpl extends Analyzer | |
Method Summary | |
public void | addDateProperty(String namespace, String name) | public void | addIntProperty(String namespace, String name) | public void | addKnownResourceType(String namespace, String name) | public void | addStringProperty(String namespace, String name) | public void | addSupportsIsdefinedProperty(String namespace, String name) | public void | addTextProperty(String namespace, String name, Analyzer analyzer) | public String | dateToIndexString(Date date) | public static String | generateFieldName(String namespaceUri, String name) Generates a field name for "normal fields". | public String | generateKey(String uri, NodeRevisionNumber number) | public Analyzer | getAnalyzer() | public Analyzer | getAnalyzerForField(String fieldName) | public Analyzer | getAnalyzerForProperty(String namespace, String name) | public static Date | getDateValue(Object value) Helper that converts property values to dates. | public String | getIndexPath() | public String | getNamespaceName() | public String | intToIndexString(long value) | public boolean | isCaseSensitive() | public boolean | isComparableProperty(String namespace, String name) | public boolean | isDateProperty(String namespace, String name) | public boolean | isIndexAsynchron() | public boolean | isIndexedProperty(String namespace, String name) | public boolean | isIntProperty(String namespace, String name) | public boolean | isStringProperty(String namespace, String name) | public boolean | isTextProperty(String namespace, String name) | Iterator | knownResourceTypes() | public String | predecessor(String field, String value) | void | readPropertyConfiguration(Configuration conf) | void | readResourceTypeConfiguration(Configuration conf) | public void | setCaseSensitive(boolean caseSensitive) | public void | setContentAnalyzer(Analyzer analyzer) | public void | setDefaultPropertyAnalyzer(Analyzer analyzer) | public void | setIndexAll(boolean indexAll) | public void | setIndexAsynchron(boolean indexAsynchron) | public void | setIndexPath(String indexPath) | public void | setNamespaceName(String name) | public void | setStoreAll(boolean storeAll) | public String | successor(String field, String value) | public boolean | supportsIsDefined(String namespace, String name) |
TOKENIZED_PREFIX | final public static String TOKENIZED_PREFIX(Code) | | |
analyzer | protected AnalyzerImpl analyzer(Code) | | |
caseSensitive | protected boolean caseSensitive(Code) | | |
dateProperties | protected Set dateProperties(Code) | | |
indexAll | protected boolean indexAll(Code) | | |
indexAsynchron | protected boolean indexAsynchron(Code) | | |
indexedProperties | protected Set indexedProperties(Code) | | |
intProperties | protected Set intProperties(Code) | | |
knownResourceTypes | protected Set knownResourceTypes(Code) | | |
optimizeThreshold | protected int optimizeThreshold(Code) | | |
storeAll | protected boolean storeAll(Code) | | |
stringProperties | protected Set stringProperties(Code) | | |
supportsIsdefinedProperties | protected Set supportsIsdefinedProperties(Code) | | |
textProperties | protected Map textProperties(Code) | | maps field names (properies) to analyzers.
|
addSupportsIsdefinedProperty | public void addSupportsIsdefinedProperty(String namespace, String name)(Code) | | |
addTextProperty | public void addTextProperty(String namespace, String name, Analyzer analyzer)(Code) | | |
generateFieldName | public static String generateFieldName(String namespaceUri, String name)(Code) | | Generates a field name for "normal fields".
|
getAnalyzer | public Analyzer getAnalyzer()(Code) | | |
getAnalyzerForField | public Analyzer getAnalyzerForField(String fieldName)(Code) | | |
getAnalyzerForProperty | public Analyzer getAnalyzerForProperty(String namespace, String name)(Code) | | |
getDateValue | public static Date getDateValue(Object value)(Code) | | Helper that converts property values to dates.
Parameters: value - a date of null if value can't convert |
intToIndexString | public String intToIndexString(long value)(Code) | | |
isCaseSensitive | public boolean isCaseSensitive()(Code) | | |
isComparableProperty | public boolean isComparableProperty(String namespace, String name)(Code) | | Tests whether ops eq , lt , ge ,etc
Parameters: namespace - Parameters: name - |
isIndexAsynchron | public boolean isIndexAsynchron()(Code) | | |
readPropertyConfiguration | void readPropertyConfiguration(Configuration conf) throws IndexException(Code) | | |
readResourceTypeConfiguration | void readResourceTypeConfiguration(Configuration conf)(Code) | | |
setCaseSensitive | public void setCaseSensitive(boolean caseSensitive)(Code) | | |
setContentAnalyzer | public void setContentAnalyzer(Analyzer analyzer)(Code) | | |
setDefaultPropertyAnalyzer | public void setDefaultPropertyAnalyzer(Analyzer analyzer)(Code) | | |
setIndexAll | public void setIndexAll(boolean indexAll)(Code) | | |
setIndexAsynchron | public void setIndexAsynchron(boolean indexAsynchron)(Code) | | |
setIndexPath | public void setIndexPath(String indexPath)(Code) | | |
setNamespaceName | public void setNamespaceName(String name)(Code) | | |
setStoreAll | public void setStoreAll(boolean storeAll)(Code) | | |
|
|