"search" and "indexer" section
Configures searching and indexing.
A typical example
"search": {
"delay": 9000,
"fuzzy-similarity-factor": 0.6,
"incremental-indexing": true,
"length": 2,
"lucene-cfs-ratio": 0.1,
"max-fuzzy-terms": 10,
"max-indexing-size": "standard",
"operator": "and",
"pattern-sufix": "*",
"period": 6000,
"short-word-length": 3,
"full-indexing-activated": true,
"plain-text-search-activated": true
},
"indexer": {
"full": {
"cronExpression": "0 0 23 ? * FRI *"
}
}
0 0 23 ? * FRI * expression means 'At 23:00:00pm, on every Friday, every month'.
"search" Attributes
Attribute
Description
analyzer
Customized search analyzer implementation class name
max-indexing-size
The maximum size of the document to index. Use "10k" pattern for kilobytes, "xM" for megabytes
operator
Search operator to use as default. This defaults to "and"
commit-indexing-block
Integer defines the maximum number of SCM commits to index at once. Negative value disables indexing of commits
incremental-indexing
If the incremental indexing is enabled
length
Integer Minimum length of search expression required
matches
Integer Maximum number of search results matched
pattern-sufix
This text is always added to the end of search expression. Defaults to "*"
max-clause-count
Integer, maximum number of search clauses in search expression
symbolTypes
Comma separated symbol types to search for. Default: 'cl','md','mi','fd','fi','ma','ty'
period
Integer Indexing should run that often in seconds
delay
Integer delay before indexing starts in seconds
fuzzy-similarity-factor
The minimum similarity of the term variants.
lucene-cfs-ratio
If a merged segment will be more than this percentage of the total size of the index, leave the segment as non-compound file even if compound file is enabled. Set to 1.0 to always use CFS regardless of merge.
max-fuzzy-terms
The total number of terms clauses that will appear once.
operator
Default operator ('and' or 'or').
period
The frequency the search should run in seconds.
short-word-length
Length of required common prefix on variant terms.
search/mime-mapping
Configures the handler class for the indexer and the character encoding per mime-type
An example:
  "search": {
"mime-mapping": [
{
"class": "handler...",
"mime-type": "text/html",
"character-encoding": "UTF-8"
},
{
"more": "..."
}
]
}
Was this helpful?