by Kim Hyde
I did contemplate naming this Blog `Slop Factor 10 Mr Sulu’ after stumbling into an Autodesk help document with the wonderful title of `Fine Tune Searches with the Search Slop Factor’!!
A support enquiry I received recently revealed an issue with simple Vault searches not giving the result the user was expecting. The customer uses a filename convention with primary, secondary and third level IDs each containing 3 characters separated by dashes. The customer generally stores a mixture of both Inventor and AutoCAD files stored in parent directories based on the same naming convention.
In my example (shown in the image above) I have created simple text files using similar format of naming convention for both files and parent folder. You notice that a simple search for `459-459’ returns results for all three differently named files and folders (not just the `CAD-KH-459-459-2B1’ references).
By modifying the value for `SearchSlopFactor’ in ADMS’s Web.config file you can refine the search results to limit responses to the range values that you enter for the search.
Step-1 - Locate the Web.config file on the Vault server platform, the following path from my laptop is for the current Vault Professional 2015 default location, but remember that the actual path name will vary depending on the product and release.
C:\Program Files\Autodesk\ADMS Professional 2015\Server\Web\Services
MAKE A COPY OF THE FILE WEB.CONFIG !! (Best advice to do this first, just in case things go wrong!)
Step-2 - Open the file using Notepad and search for the string “SearchSlopFactor’, modify the value to the required value (default value = 10).
Refer to the following link for guidance on the values and managing the expected results:
Please note that Vault Client should be closed during modifications to the web.config file, then restarted on completion.
As an example, by setting the `SearchSlopFactor’ to 0, the same search for `459-459’ will return a more specific result as shown below:
As an additional reference, please refer to the following link regarding searching using tokens (packages of syntax) and the valid punctuation values permitted: