• Hi, I’m trying to find out how Jetpack Search treats search query operators like quote marks or maybe even AND, OR, +, etc.

    Is there a comprehensive overview of all operators that can be used in search queries? Is there a way to change search behavior either in a sidebar widget or progammatically? Like default to “exact phrase” searches or switch between AND / OR searches…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,

    Thanks for getting in touch.

    If I understood your question correctly, Jetpack Search does not have a comprehensive list of search query operators like quote marks or AND, OR, +.

    Jetpack Search roughly performs a full-text search on your website’s content and returns results based on relevance and date added to the website. Maybe, if you can provide some examples, we might be able to help better.

    To change the search behavior in the sidebar widget beyond what’s described in the documentation, you may be able to do so programmatically using the available filters in Jetpack Search.

    However, it’s important to note that modifying the search behavior may impact the search results and relevance. Also, we don’t currently provide support for advanced customizations.

    Kind regards.

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Hi @ihenetudan I’m not trying to influence the search results programmatically but rather on the public/visitor side.

    I am hoping to provide some search tips (help text in a paragraph widget) in the search popup window. This help text currenlty looks like:

    Use the following check boxes/filters to refine your search results. To get results for an exact phrase, place it between quotes.

    Now my question is: are there any other operators (other than quotes and the predefined taxonomy filters) that site visitors can use to refine their search results?

    @ravanh

    I am hoping to provide some search tips (help text in a paragraph widget) in the search popup window.

    I see. At the moment, users can only use quotes to search for content matching an exact phrase and the predefined filters to sift the search results further.

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    @ihenetudan thanks, that’s clear ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Search query operators’ is closed to new replies.