Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Stop SolrServices (SolrJetty/SolrApache) on the webserver

  2. Locate the Solr search core that needs to be changed (Default location: C:\Bitnami\solr-8.3.1-1\apache-solr\server\solr).

  3. Open the <CoreName>\Conf\solrconfig.xml file.

  4. 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>

  5. 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>

  6. Delete the <CoreName>\Data folder

  7. Start SolrServices

  8. Repopulate the search from the Digizuite DAM Center.

Resources:

Info

Your contribution is important

Help 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.