Package com.enonic.xp.index
Class IndexConfig
- java.lang.Object
-
- com.enonic.xp.index.IndexConfig
-
- All Implemented Interfaces:
java.lang.Comparable<IndexConfig>
@Beta public class IndexConfig extends java.lang.Object implements java.lang.Comparable<IndexConfig>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexConfig.Builder
-
Field Summary
Fields Modifier and Type Field Description static IndexConfig
BY_TYPE
static java.util.Comparator<IndexConfig>
COMPARATOR
static IndexConfig
FULLTEXT
static IndexConfig
MINIMAL
static IndexConfig
NGRAM
static IndexConfig
NONE
static IndexConfig
PATH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(IndexConfig o)
static IndexConfig.Builder
create()
static IndexConfig.Builder
create(IndexConfig source)
boolean
equals(java.lang.Object o)
com.google.common.collect.ImmutableList<IndexValueProcessor>
getIndexValueProcessors()
com.google.common.collect.ImmutableList<java.lang.String>
getLanguages()
int
hashCode()
boolean
isDecideByType()
boolean
isEnabled()
boolean
isFulltext()
boolean
isIncludeInAllText()
boolean
isnGram()
boolean
isPath()
boolean
isStemmed()
-
-
-
Field Detail
-
NONE
public static final IndexConfig NONE
-
FULLTEXT
public static final IndexConfig FULLTEXT
-
PATH
public static final IndexConfig PATH
-
MINIMAL
public static final IndexConfig MINIMAL
-
BY_TYPE
public static final IndexConfig BY_TYPE
-
NGRAM
public static final IndexConfig NGRAM
-
COMPARATOR
public static final java.util.Comparator<IndexConfig> COMPARATOR
-
-
Method Detail
-
create
public static IndexConfig.Builder create()
-
create
public static IndexConfig.Builder create(IndexConfig source)
-
isDecideByType
public boolean isDecideByType()
-
isEnabled
public boolean isEnabled()
-
isnGram
public boolean isnGram()
-
isFulltext
public boolean isFulltext()
-
isPath
public boolean isPath()
-
isIncludeInAllText
public boolean isIncludeInAllText()
-
isStemmed
public boolean isStemmed()
-
getLanguages
public com.google.common.collect.ImmutableList<java.lang.String> getLanguages()
-
getIndexValueProcessors
public com.google.common.collect.ImmutableList<IndexValueProcessor> getIndexValueProcessors()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(IndexConfig o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<IndexConfig>
-
-