How to remove @sys fields from search results.
We are using a Coveo for Sitecore 7 (7.0 x64 Build 7599.0) index side by side with Lucene (which contains the default 'sitecoremasterindex') index and etc. In the Coveo index, we have a number of fields that we have setup as facets, computed fields and etc. For the most part, things are working as expected except for a few erroneous search results. Many of these are coming from the fact that Coveo creates some @sys fields for various fields and will include those fields if they are contained in the search query.
An example is when the user searches for the word 'Index' (#q=index), we get hits because there are fields like:
@sysfolders. @sysprintableuri, @syssource, @sysuri that contain a sting like 'myindexmasterindex-custom' that contain the searched word.
Thus, I have (2) questions:
- How does one remove search results for matches against these '@sys' fields?
- Is that the same process to remove any other field from the search results for all of the normal, user fields (ie. @fdatasource12345).
The Coveo system fileds (external fields), cannot be modified in the Coveo Search Provider config file. You can find these fields in the Coveo Administration Tools >> Configuration >> Fields menu.
Simply click on the field set you wish to modify and select the system field menu. Then you can use the un-check the Free Text Queries check box to disable the free text search on that field.
Repeat the process for all field sets of your Sitecore instance.