...
Stop SolrServices (SolrJetty/SolrApache) on the webserver
Locate the Solr search core that needs to be changed (Default location: C:\Bitnami\solr-8.3.1-1\apache-solr\server\solr).
Open the <CoreName>\Conf\solrconfig.xml file.
Find the requestHandler section:
Code Block <requestHandler name="/select" class="solr.SearchHandler"> <!-- default values for query parameters can be specified, these will be overridden by parameters in the request --> <lst name="defaults"> <str name="echoParams">explicit</str> <int name="rows">10</int> <!-- Default search field <str name="df">text</str> --> <!-- Change from JSON to XML format (the default prior to Solr 7.0) <str name="wt">xml</str> --> </lst> --> ... <!-- <arr name="components"> <str>nameOfCustomComponent1</str> <str>nameOfCustomComponent2</str> </arr> --> </requestHandler>
Add
<str name="q.op">AND</str>
to the<lst></lst>
section. E.g.Code Block <lst name="defaults"> <str name="echoParams">explicit</str> <str name="q.op">AND</str> <int name="rows">10</int> </lst>
Delete the <CoreName>\Data folder
Start SolrServices
Repopulate the search from the Digizuite DAM Center.
Resources:
Info |
---|
Your contribution is importantHelp us improve - together! If you’d like to provide any feedback or suggested improvements to this guide, please feel free to leave a comment and the author will be notified. Thank you. |