You are here

Full text search configuration properties for Solr 4 index

This topic describes the Solr 4 index's full text search properties which influence the behaviour of Solr 4 indexes.

The main index and deltas all use the same configuration. The data dictionary settings for properties determine how individual properties are indexed.

If you wish to change the default value of a property, add the relevant property to the file and then make the changes.

Solr 4 index properties
The host name where the Solr instance is located.
The port number on which the Solr instance is running.
The port number on which the Solr SSL support is running.
The Solr user name.
The Solr password.
The HTTPS connection.
The Solr connection timeouts in ms.
solr.solrPingCronExpression=0 0/5 * * * ? *
The cron expression defining how often the Solr Admin client (used by JMX) pings Solr 4 if it goes away.

Data dictionary options

The indexing behavior of each property can be set in the content model. By default, they are indexed atomically. The property value is not stored in the index, and the property is tokenized when it is indexed.

The following example shows how indexing can be controlled.

If this is false, there will be no entry for this property in the index.
If this is true, the property is indexed in the transaction, if not the property is indexed in the background.
If true, the property will be used for faceting and if false, you cannot use it for faceting.
If "true", the string value of the property is tokenized before indexing.
if "false", it is indexed "as is" as a single string.
if "both" then both specified forms are in the index.
The tokenizer is determined by the property type in the data dictionary. This is locale sensitive as supported by the data dictionary, so you could switch to tokenize all your content in German. At the moment you cannot mix German and English tokenization.
<type name="cm:content">
        <property name="cm:content">
           <index enabled="true">

Indexing defaults

The effective indexing defaults for all properties are as follows:
<index enabled="true">

Indexing options

If you want archive or zip files to be unzipped and the files included in the index, set the following property:
The default setting is false.