SMILA (incubation) API documentation

org.eclipse.smila.solr
Interface SolrConstants


public interface SolrConstants

This class holds static constants that are used for property names and other such stuff.

Author:
pwissel

Nested Class Summary
static class SolrConstants.AttributeOrAttachment
          Source/Target type AttributeOrAttachment.
static class SolrConstants.ExecutionMode
          The execution mode.
 
Field Summary
static java.lang.String COLLATION
          Parameter collation.
static java.lang.String CORE_FIELD_ID
          The core field id.
static java.lang.String CORE_FIELD_NAME
          The parameter field name.
static java.lang.String CORE_FIELD_SCORE
          The core field score.
static java.lang.String CORE_FIELDS
          The parameter index fields.
static java.lang.String CORE_NAME
          The parameter core name.
static java.lang.String DATE_FORMAT_PATTERN
          The default solr date format pattern.
static java.lang.String DEFAULT_CORE
          The DefaultCore folder.
static java.lang.String DOC_BOOST
          annotation name for defining a boost factor (double) of a record/document.
static java.lang.String DYNAMIC_TARGET_CORE
          annotation on a record to control the target index/core dynamically.
static java.lang.String EXECUTION_MODE
          The parameter execution mode.
static java.lang.String FACET_ATTR
          The facet attribute.
static java.lang.String FACET_QUERY_ATTR
          The facet query attribute.
static java.lang.String FIELD_PREFIX
          The parameter field prefix.
static java.lang.String FIELD_SUFFIX
          The paramter field suffix.
static java.lang.String FILTER_QUERY
          Parameter filter query.
static java.lang.String GLOBAL
          Parameter global.
static java.lang.String HIGHLIGHTING
          Parameter highlighting.
static java.lang.String MAX_SCORE
          Parameter max_score.
static java.lang.String QUERY_MAP
          Parameter query map.
static java.lang.String RESULT_MAP
          Parameter result map.
static java.lang.String SHARDS
          The shards.
static java.lang.String SOLR_PREFIX
          Parameter _solr.
static java.lang.String SOURCE_NAME
          Record source name.
static java.lang.String SOURCE_TYPE
          Record source type (AttributeOrAttachment).
static java.lang.String SPELLCHECK
          Parameter spellcheck.
static java.lang.String TERMS
          Parameter terms.
 

Field Detail

EXECUTION_MODE

static final java.lang.String EXECUTION_MODE
The parameter execution mode.

See Also:
Constant Field Values

CORE_NAME

static final java.lang.String CORE_NAME
The parameter core name.

See Also:
Constant Field Values

CORE_FIELDS

static final java.lang.String CORE_FIELDS
The parameter index fields.

See Also:
Constant Field Values

CORE_FIELD_NAME

static final java.lang.String CORE_FIELD_NAME
The parameter field name.

See Also:
Constant Field Values

SOURCE_NAME

static final java.lang.String SOURCE_NAME
Record source name.

See Also:
Constant Field Values

SOURCE_TYPE

static final java.lang.String SOURCE_TYPE
Record source type (AttributeOrAttachment).

See Also:
Constant Field Values

CORE_FIELD_ID

static final java.lang.String CORE_FIELD_ID
The core field id.

See Also:
Constant Field Values

CORE_FIELD_SCORE

static final java.lang.String CORE_FIELD_SCORE
The core field score.

See Also:
Constant Field Values

DATE_FORMAT_PATTERN

static final java.lang.String DATE_FORMAT_PATTERN
The default solr date format pattern.

See Also:
Constant Field Values

FACET_ATTR

static final java.lang.String FACET_ATTR
The facet attribute.

See Also:
Constant Field Values

FACET_QUERY_ATTR

static final java.lang.String FACET_QUERY_ATTR
The facet query attribute.

See Also:
Constant Field Values

SHARDS

static final java.lang.String SHARDS
The shards.

See Also:
Constant Field Values

DOC_BOOST

static final java.lang.String DOC_BOOST
annotation name for defining a boost factor (double) of a record/document.

Note: i was thinking if smila defines smth. like this already, as it is a common thing such as _id, but it doesnt make sense to put this @ the record like Record.RECORD_ID since boosting is search specific. So what we need is a place for constants that make sense in the realm of search but have to do with the indexing side of things, which is the resason why QueryConstants is not such a good place. AFAIK there is no such place so far.

See Also:
Constant Field Values

SOLR_PREFIX

static final java.lang.String SOLR_PREFIX
Parameter _solr.

See Also:
Constant Field Values

QUERY_MAP

static final java.lang.String QUERY_MAP
Parameter query map.

See Also:
Constant Field Values

RESULT_MAP

static final java.lang.String RESULT_MAP
Parameter result map.

See Also:
Constant Field Values

GLOBAL

static final java.lang.String GLOBAL
Parameter global.

See Also:
Constant Field Values

FIELD_PREFIX

static final java.lang.String FIELD_PREFIX
The parameter field prefix.

See Also:
Constant Field Values

FIELD_SUFFIX

static final java.lang.String FIELD_SUFFIX
The paramter field suffix.

See Also:
Constant Field Values

MAX_SCORE

static final java.lang.String MAX_SCORE
Parameter max_score.

See Also:
Constant Field Values

TERMS

static final java.lang.String TERMS
Parameter terms.

See Also:
Constant Field Values

HIGHLIGHTING

static final java.lang.String HIGHLIGHTING
Parameter highlighting.

See Also:
Constant Field Values

FILTER_QUERY

static final java.lang.String FILTER_QUERY
Parameter filter query.

See Also:
Constant Field Values

DYNAMIC_TARGET_CORE

static final java.lang.String DYNAMIC_TARGET_CORE
annotation on a record to control the target index/core dynamically. overrides the pipelet config.

See Also:
Constant Field Values

DEFAULT_CORE

static final java.lang.String DEFAULT_CORE
The DefaultCore folder.

See Also:
Constant Field Values

SPELLCHECK

static final java.lang.String SPELLCHECK
Parameter spellcheck.

See Also:
Constant Field Values

COLLATION

static final java.lang.String COLLATION
Parameter collation.

See Also:
Constant Field Values

SMILA (incubation) API documentation