public class AGFreetextIndexConfig extends Object
An index configuration can be customized and then used to create a new freetext index.
See documentation for freetext index parameters.
Modifier and Type | Field and Description |
---|---|
static String |
BORDER_CHARS |
static String |
INDEX_FIELDS |
static String |
INDEX_LITERAL_TYPES |
static String |
INDEX_LITERALS |
static String |
INDEX_RESOURCES |
static String |
INNER_CHARS |
static String |
MINIMUM_WORD_SIZE |
static String |
PREDICATES |
static String |
STOP_WORDS |
static String |
TOKENIZER |
static String |
WORD_FILTERS |
public static final String PREDICATES
public static final String INDEX_LITERALS
public static final String INDEX_LITERAL_TYPES
public static final String INDEX_RESOURCES
public static final String INDEX_FIELDS
public static final String MINIMUM_WORD_SIZE
public static final String STOP_WORDS
public static final String WORD_FILTERS
public static final String INNER_CHARS
public static final String BORDER_CHARS
public static final String TOKENIZER
public static AGFreetextIndexConfig newInstance()
The index configuration can be customized and then used to create a new freetext index.
See documentation for freetext index parameters.
AGRepositoryConnection.createFreetextIndex(String, AGFreetextIndexConfig)
public List<IRI> getPredicates()
public boolean getIndexLiterals()
public void setIndexLiterals(boolean bool)
bool
- true if Literals should be indexed, false if notpublic List<String> getIndexLiteralTypes()
public String getIndexResources()
public void setIndexResources(String str)
str
- A string indicating how to index resourcespublic List<String> getIndexFields()
public int getMinimumWordSize()
public void setMinimumWordSize(int size)
size
- the minimum word size to be setpublic List<String> getStopWords()
public List<String> getWordFilters()
public List<String> getBorderChars()
public String getTokenizer()
public void setTokenizer(String tokenizerName)
tokenizerName
- name of a valid tokenizerCopyright © 2019 Franz Inc.. All rights reserved.