Skip navigation links


com.fatwire.cs.core.search.data
Interface FieldDescriptor


public interface FieldDescriptor

FieldDescriptor is used to define a Search Engine index data field.


Method Summary
 java.lang.Integer getBoost()
          Gets the boosting factor that search engine will apply to this field when indexing
 FieldType getType()
          Gets the data type of the field
 java.lang.Boolean isStoredInIndex()
          Gets whether the field will be stored in search engine or not.
 java.lang.Boolean isTokenized()
          Gets whether the field would be tokenized when indexed in search engine

 

Method Detail

getType

FieldType getType()
Gets the data type of the field
Returns:
the FieldType of the index data field

isTokenized

java.lang.Boolean isTokenized()
Gets whether the field would be tokenized when indexed in search engine
Returns:
true indicates the field will be tokenized; false indicates otherwise

isStoredInIndex

java.lang.Boolean isStoredInIndex()
Gets whether the field will be stored in search engine or not. Storing large amount of data in search engine will take much more additial storage in Content Server shared directory
Returns:
true indicates the field will be stored in search engine; false indicates otherwise

getBoost

java.lang.Integer getBoost()
Gets the boosting factor that search engine will apply to this field when indexing
Returns:
the int number of the boosting factor

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.