Use > JMX Reference > Administration Methods > How to Configure Maximum Number of Condition Phrases for a Single Node

How to Configure Maximum Number of Condition Phrases for a Single Node for Solr Search

Solr grammar is configured to support only 2 condition phrases, meaning that you can have only 3 condition words for a single node. This was limited to 2 for performance reasons.

The cmdb.search.max.condition.phrases setting available since version 10.22 allows you to configure the maximum number of condition phrases for a single node. By default it has value 2 and can be set using the setSettingValue JMX method from JMX console > Mbean: UCMDB:service=Settings Services.

Note Solr has a search mechanism to take multiple words as a single value by enclosing the searched text with the quotation symbol ("). For example, if you want to search a node named avaya aic logs error, you should use the following notation:

node with name "avaya aic logs error"