public class Lucene.FieldIndexType
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
float |
getBoost()
Returns the index boost
The index boost determines the weight of the field for the search score.
|
java.lang.String |
getContentType()
Returns the content type as which the field content is interpreted
This property contains predefined strings which identify content types for lucene indexing and determines what the Lucene index assumes to be the content of this field:
"plaintext": Simple text without formatting
"htmlxml": HTML or XML markup
The content type determines what part of the fields content is actually interpreted as real content text.
|
java.lang.String |
getIndexType()
Returns the actual lucene index type
This is string of a predefined range of values:
"fulltext" - Normal fulltext indexing
"keyword" - Keyword indexing
The index type determines how the contents of the fields is actually indexed and therefor can be queried.
|
java.lang.String |
getPattern()
Returns the field name matching pattern of the rule
This is the matching pattern of the Lucene configuration rule from which the information of the current object is served.
|
boolean |
isDefaultRule()
Returns if the field index type is from the default rule
The default rule of Lucene index configurations is the fallback rule that determines the indexing type of all items that have no explicit rule matching them.
|
boolean |
isSortable()
Determines if the results of a lucene query can be sorted by fields of this rule
Lucene queries support sorting its results by individual fields when their index type is determined as being "sortable".
|
boolean |
isWildcardPattern()
Returns if the pattern of the rule contains a wildcard
This is about the pattern of the lucene rule which serves this index type.
|
public boolean isWildcardPattern()
public boolean isDefaultRule()
public java.lang.String getContentType()
public java.lang.String getPattern()
public boolean isSortable()
public float getBoost()
public java.lang.String getIndexType()