Note: This applies to DocuShare 6.x
When searching using Advanced Search “Any Partâ€, this is the same as “Simple searchâ€. The “equals†operator is automatically converted internally to the “in†operator because it is searching on the document content section. The “equals†operator does not apply here. Therefore, searching with special characters is limited.
When searching on a field, such as “titleâ€, the search is done on an internal Autonomy â„¢ table. The operators “contain†and “equals†apply here, but using the “equal†operator when searching with special characters, together with wildcards if needed, yields the most consistent results.
You can search for field values using the “in†operator (e.g., test title) because we make a copy of the field values in the zone which is located in the document content area. This is done for performance and flexibility.
Example:
Searching options and results when searching for document with a special character (in this case “_†in the title) Title: "123_test document".
NOTE: The search examples below were run using the Advanced Search Option located on the DocuShare Navigation bar where the Documents Title is "123_test document". .
1) equals test “any partâ€
returns nothing -> this searches for whole words, test is part of a word
2) equals 123_test “any partâ€
returns result -> this searches for whole words, 123_test is part of a word
3) equals test “titleâ€
returns nothing -> this searches for entire titles called test, not the case title is "123_test document"
4) equals 123_test “titleâ€
returns nothing -> this searches for entire titles called 123_test, not the case, title is "123_test document"
5) contains test “any partâ€
returns nothing -> searches for whole words, test is not a whole word
6) contains 123_test “any partâ€
returns result -> searches for whole words, 123_test is a whole word
7) contains test “titleâ€
returns result -> searches for titles that contain test, test is in "123_test document"
8) contains 123_test “titleâ€
returns result searches for titles that contain 123_test, test is in "123_test document"