Keep some taxonomies out of suggestions

  • rvs
    Participant
    4 years, 6 months ago #13948

    Hi,

    I have some taxonomies that i don’t want to appear in my suggestions.
    Is there a way to keep them out (but still being used for search results) ?

    wpsolr
    Keymaster
    4 years, 6 months ago #13952

    Is it for keyword suggestions, or content suggestions?

    rvs
    Participant
    4 years, 6 months ago #13953

    Sorry, it’s for keyword suggestions.

    wpsolr
    Keymaster
    4 years, 6 months ago #13955

    In Elasticsearch there is a notion of “contexts” to filter autocompletions. But not in Solr. Therefore, there is no plan to filter keywords by categories.

    But, there is a plan to introduce a new notion of “views” in WPSOLR later.

    Currently, all menus 2.x define a single (implicit) “view”. By generalizing this notion to multiple views, you would be able to define a view for your search with categories (2.1 for the search, and 2.2 with categories), and another view for your suggestions without categories (2.2 without categories, and 2.4 for your suggestions). Each view would use its own index, or share other views indexes.

    This would enable your feature, for both Elasticsearch and Solr, but also many other complex settings.

    • This reply was modified 4 years, 6 months ago by wpsolr.
    rvs
    Participant
    4 years, 6 months ago #13959

    Ok thank you for this answer!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.