Gravatar for robinvanrijn9@gmail.com

Question by robvan01, Apr 4, 2016 11:47 AM

Search Prefixes turn off

Is there a way of turning off Search Prefixes? We have a lot of content that starts with the minus symbol.

e.g -command name

Users are looking for "-keyword" but finding that keyword excluded from their search results.

1 Reply
Gravatar for fdallaire@coveo.com

Answer by François Dallaire, Apr 4, 2016 1:13 PM

With a JavaScript Search page, you could disable the enableQuerySyntax option in the Querybox or Omnibox components: https://developers.coveo.com/display/JsSearchV1/Querybox+Component#QueryboxComponent-enableQuerySyntax https://developers.coveo.com/display/JsSearchV1/Omnibox+Component#OmniboxComponent-enableQuerySyntax

Gravatar for robinvanrijn9@gmail.com

Comment by robvan01, Apr 5, 2016 5:42 AM

We are using the JavaScript search page, and it does not seem to work, the search results stay the same. Some of the other options such as do work however.

Ask a question