Gravatar for gling@houstonmethodist.org

Question by qch1595, May 12, 2017 4:53 PM

Coveo is indexing the item name of the items in DataSources

Coveo is indexing the item name of the items in DataSources

For example: I have an item in DataSources called "volunteer component". But the content inside doesn't have any "volunteer" or related keywords. When I search for "volunteer" on the site, this item is returned. How to skip it? I only want to index the content of the items in DataSources.

Thanks.

1 Reply
Gravatar for flguillemette@coveo.com

Answer by François Lachance-Guillemette, May 15, 2017 12:08 PM

The best solution would be to filter out items that you don't want to be "clickable" in your UI.

Indexing only the content would remove the ability to find _any_ visible, non-datasource page with its title, which would drive your relevancy down.

We usually use the filter `fhaslayoutXXXXX==1` to only fetch items that are visible.

Let us know if this works for you!

Gravatar for gling@houstonmethodist.org

Comment by qch1595, May 15, 2017 3:26 PM

Sorry, maybe I didn't describe my question clearly. I am getting a search result links to a page which has the search keyword only in the DataSource item's name, not in the DataSource item's content. Eventually, the users complain about seeing a non-related search result. The reason it is being returned by Coveo is the DataSource item's name contains the search keyword. So the question is: Is it possible to search the DataSource item's content only, not include the item's name? Thanks.

Gravatar for gling@houstonmethodist.org

Comment by qch1595, May 15, 2017 3:30 PM

By the way, I am using

BasicHtmlContentInBodyProcessor

to make the DataSource items searchable.

Ask a question