Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The “50% minimum match” is the default search configuration with “fresh” installations of ViaWorks 2.4.  By “fresh” we mean an installation that was not performed over an existing, previous ViaWorks version.  The result of this change is that when users perform a search, at least 50% of the terms entered for the search, must exist in the document in order for the document to be included in the search results. 

For installations that have been upgraded to 2.4 from a previous ViaWorks release, this change will not be made to the default configuration and the previous search behavior, a match on any of the terms entered, will remain.  This was done so as to not to confuse existing ViaWorks users with changes in their search results.  However, we feel the new behavior is better, and after educating the ViaWorks users, we encourage ViaWorks administrators to make the change to the new search behavior.

Perform the following steps if you wish to modify a ViaWorks server configuration that has been upgraded from a ViaWorks release prior to 2.4, to use the 50% minimum match default search criteria. 

1. Edit the file “solrconfig.xml”.  By default, it will reside in the "ProgramData\VirtualWorks\ViaWorks\Solr\ViaWorks\conf" folder but this may have been changed during installation.

2. Scroll down within the file until you reach the section:

<requestHandler name="/select" class="solr.SearchHandler">

Within the <lst name=”defaults”> subsection you will see the following line:

<str name=”mm”>1</str>

3. Edit the line, replacing the “1” with “-50%”, so it looks like the following:

<str name=”mm”>-50%</str>

4. After editing the line and saving the file, you will need to restart the ViaWorks Index Service.

  • No labels