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 or Digizuite drive).

  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.

...