What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi all, I am looking at creating custom search filters ... I ended up in this class `vendor/spryker

UM9F81RCP
UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

Hi all,

I am looking at creating custom search filters ... I ended up in this class vendor/spryker/search/src/Spryker/Client/Search/Plugin/Config/SearchConfig.php where it says:

@deprecated Use `\Spryker\Client\SearchElasticsearch\Config\SearchConfig` instead.

The only problem is that I dont seem to find the class SearchConfig anywhere πŸ˜…

Two questions here:
1. am I looking at the correct place to customise the search filters?
2. where should I look for the new class?
Thanks

Comments

  • UKEP86J66
    UKEP86J66 Posts: 208 πŸ§‘πŸ»β€πŸš€ - Cadet

    I’m not sure about your first question but can confirm the class is part of the spryker/search-elasticsearch module. This is since Spryker refactored the search system to allow different search engines. We discovered this when we upgraded to the 2020.09 feature release πŸ™‚

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    oh I think we are a bit behind with this upgrade

  • UKEP86J66
    UKEP86J66 Posts: 208 πŸ§‘πŸ»β€πŸš€ - Cadet

    If you are on an older version you can probably ignore the warning, it’s not valid until you are using the newer version of the module

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    I see

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    thanks

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    so regarding my first quesiton I am try to extend this section in the search

  • UM9F81RCP
    UM9F81RCP Posts: 516 πŸ§‘πŸ»β€πŸš€ - Cadet

    to add new filters like for example (color)