Note: This applies to DocuShare 6.x Only
When using the simple search box on the DocuShare HomePage it is unable to find a document with the title ds6_cmd.pdf in the simple search box. However, searching for ds6_cmd* works and so does *pdf.
Note: If you use the advanced Search and search for Title contains ds6_cmd.pdf it will find it successfully.
Note: Search must be working on the site for this solution to be valid. This is not a fix for search not working for any documents.
Note: A site may report that this search parameter worked before, but now does not seem to work, the issue may be occurring because of an update or patch that was applied to their DocuShare site that may have made changes to their verity version; therefore causing this issue.
Note: This solution has been tested on DocuShare 6.x
Note: This solution will need to be applied by a Windows Administrator.
Note: To complete this solution you will need to run a dsindex index_all on the server. Running an index can take a long time (many hours) depending on your server and content. It is recommended that the dsindex process is done during an off time, as your DocuShare site may become inaccessible while the index completes.
From the DocuShare Server,
1. Open Windows Explorer and browse to the <dshome>\lib\verity\data\stylesets\Def_DS4 directory
Where <dshome> is replaced with the installation directory for DocuShare. The default installation path for DocuShare is C:\Xerox\Docushare. Depending on your installation environment this path may vary.
2. Make a copy of the style.lex.tmpl file
3. Rename the original file to style.lex.tmpl.bak
4. Open the style.lex.tmpl file in NotePad or WordPad
5. Look for the following line.
token: WORD "[^ \t\f\r\v\b\n?.,!:;']+"
6. Add the _ (underscore) and the – (dash) after ;' and before ] in the line
For example: token: WORD "[^ \t\f\r\v\b\n?.,!:;'_-]+"
7. Open a Command Prompt window.
8. Change into the <dshome>\bin directory.
9. Type config k_2 and press Enter.
10. Once the config k_2 is finished running you will be returned to the command prompt.
Note: The next step instructs you to run the dsindex index_all command; this part of the solution can be run at a later time if needed. However, the solution will not be complete until the dsindex has been run.
11. From the <dshome>\bin directory type dsindex index_all and press Enter.
12. Once this completes try running the simple search again for the document that you were unable to find previously.
Solution Updated: January 6, 2011