de.innovationgate.wga.config
public class LuceneIndexItemRule extends ConfigBean
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<LuceneIndexItemRule> |
COMPARATOR |
static java.lang.String |
CONTENT_TYPE_HTML_XML
Content type "htmlxml" which will index only real content, no HTML/XML tag code
|
static java.lang.String |
CONTENT_TYPE_PLAINTEXT
Content type "plaintext" which will be indexed unparsed
|
static LuceneIndexItemRule |
DEFAULT_RULE |
static java.lang.String |
EXPRESSION_WILDCARD
Wildcard for item name patterns
|
static java.lang.String |
INDEX_TYPE_FULLTEXT
Indexing type "fulltext"
|
static java.lang.String |
INDEX_TYPE_KEYWORD
Indexing type "keyword"
|
static java.lang.String |
INDEX_TYPE_NO_INDEX
Indexing type "noindex" - Meaning that items applying to this rule will not be indexed
|
Constructor and Description |
---|
LuceneIndexItemRule() |
LuceneIndexItemRule(java.lang.String itemExpression,
java.lang.String indexType,
java.lang.String contentType) |
Modifier and Type | Method and Description |
---|---|
float |
getBoost() |
java.lang.String |
getContentType() |
java.lang.String |
getIndexType() |
java.lang.String |
getItemExpression() |
boolean |
isDefaultResource() |
boolean |
isSortable() |
void |
setBoost(float boost) |
void |
setContentType(java.lang.String contentType) |
void |
setIndexType(java.lang.String indexType) |
void |
setItemExpression(java.lang.String itemExpression) |
void |
setSortable(boolean sortable) |
getDescription, getOptionDefinitions, getOptionDefinitions, isChanged, setChanged, setDescription, validate, validate, visit
public static final java.lang.String EXPRESSION_WILDCARD
public static final java.lang.String INDEX_TYPE_KEYWORD
public static final java.lang.String INDEX_TYPE_FULLTEXT
public static final java.lang.String INDEX_TYPE_NO_INDEX
public static final java.lang.String CONTENT_TYPE_PLAINTEXT
public static final java.lang.String CONTENT_TYPE_HTML_XML
public static final LuceneIndexItemRule DEFAULT_RULE
public static final java.util.Comparator<LuceneIndexItemRule> COMPARATOR
public LuceneIndexItemRule()
public LuceneIndexItemRule(java.lang.String itemExpression, java.lang.String indexType, java.lang.String contentType)
public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
public java.lang.String getIndexType()
public void setIndexType(java.lang.String indexType)
public java.lang.String getItemExpression()
public void setItemExpression(java.lang.String itemExpression)
public boolean isSortable()
public void setSortable(boolean sortable)
public float getBoost()
public void setBoost(float boost)
public boolean isDefaultResource()
isDefaultResource
in class ConfigBean