Franz Inc, AllegroGraph

com.franz.agraph.repository
Class AGFreetextIndexConfig

java.lang.Object
  extended by com.franz.agraph.repository.AGFreetextIndexConfig

public class AGFreetextIndexConfig
extends Object

The class of freetext index configurations.

An index configuration can be customized and then used to create a new freetext index.

See documentation for freetext index parameters.

See Also:
newInstance(), AGRepositoryConnection.createFreetextIndex(String, AGFreetextIndexConfig)

Field Summary
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
           
 
Method Summary
 List<String> getBorderChars()
          See documentation for freetext index parameters.
 List<String> getIndexFields()
          See documentation for freetext index parameters.
 boolean getIndexLiterals()
          See documentation for freetext index parameters.
 List<String> getIndexLiteralTypes()
          See documentation for freetext index parameters.
 String getIndexResources()
          See documentation for freetext index parameters.
 List<String> getInnerChars()
           
 int getMinimumWordSize()
          See documentation for freetext index parameters.
 List<org.openrdf.model.URI> getPredicates()
          See documentation for freetext index parameters.
 List<String> getStopWords()
          See documentation for freetext index parameters.
 String getTokenizer()
          See documentation for freetext index parameters.
 List<String> getWordFilters()
          See documentation for freetext index parameters.
static AGFreetextIndexConfig newInstance()
          Returns a new instance having the default index configuration.
 void setIndexLiterals(boolean bool)
          See documentation for freetext index parameters.
 void setIndexResources(String str)
          See documentation for freetext index parameters.
 void setMinimumWordSize(int size)
          See documentation for freetext index parameters.
 void setTokenizer(String tokenizerName)
          See documentation for freetext index parameters.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PREDICATES

public static final String PREDICATES
See Also:
Constant Field Values

INDEX_LITERALS

public static final String INDEX_LITERALS
See Also:
Constant Field Values

INDEX_LITERAL_TYPES

public static final String INDEX_LITERAL_TYPES
See Also:
Constant Field Values

INDEX_RESOURCES

public static final String INDEX_RESOURCES
See Also:
Constant Field Values

INDEX_FIELDS

public static final String INDEX_FIELDS
See Also:
Constant Field Values

MINIMUM_WORD_SIZE

public static final String MINIMUM_WORD_SIZE
See Also:
Constant Field Values

STOP_WORDS

public static final String STOP_WORDS
See Also:
Constant Field Values

WORD_FILTERS

public static final String WORD_FILTERS
See Also:
Constant Field Values

INNER_CHARS

public static final String INNER_CHARS
See Also:
Constant Field Values

BORDER_CHARS

public static final String BORDER_CHARS
See Also:
Constant Field Values

TOKENIZER

public static final String TOKENIZER
See Also:
Constant Field Values
Method Detail

newInstance

public static AGFreetextIndexConfig newInstance()
Returns a new instance having the default index configuration.

The index configuration can be customized and then used to create a new freetext index.

See documentation for freetext index parameters.

See Also:
AGRepositoryConnection.createFreetextIndex(String, AGFreetextIndexConfig)

getPredicates

public List<org.openrdf.model.URI> getPredicates()
See documentation for freetext index parameters.


getIndexLiterals

public boolean getIndexLiterals()
See documentation for freetext index parameters.


setIndexLiterals

public void setIndexLiterals(boolean bool)
See documentation for freetext index parameters.


getIndexLiteralTypes

public List<String> getIndexLiteralTypes()
See documentation for freetext index parameters.


getIndexResources

public String getIndexResources()
See documentation for freetext index parameters.


setIndexResources

public void setIndexResources(String str)
See documentation for freetext index parameters.


getIndexFields

public List<String> getIndexFields()
See documentation for freetext index parameters.


getMinimumWordSize

public int getMinimumWordSize()
See documentation for freetext index parameters.


setMinimumWordSize

public void setMinimumWordSize(int size)
See documentation for freetext index parameters.


getStopWords

public List<String> getStopWords()
See documentation for freetext index parameters.


getWordFilters

public List<String> getWordFilters()
See documentation for freetext index parameters.


getInnerChars

public List<String> getInnerChars()

getBorderChars

public List<String> getBorderChars()
See documentation for freetext index parameters.


getTokenizer

public String getTokenizer()
See documentation for freetext index parameters.


setTokenizer

public void setTokenizer(String tokenizerName)
See documentation for freetext index parameters.


toString

public String toString()
Overrides:
toString in class Object

Copyright © 2008-2012 Franz Inc.