Calling Developers!
We are reenergizing our code contribution process! Learn More

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..

Hello all, I can see the search results in suggestions when I type in the search bar but when I pres

U048WDEP3R7
U048WDEP3R7 Posts: 217 πŸ§‘πŸ»β€πŸš€ - Cadet
edited March 2023 in Help

Hello all, I can see the search results in suggestions when I type in the search bar but when I press enter to see the search page, it shows no results. Can someone please help?

Comments

  • sebastian.larisch
    sebastian.larisch Spryker Customer Posts: 143 πŸ§‘πŸ»β€πŸš€ - Cadet

    might be because suggestions uses different plugin stack. can u check CatalogDependencyProvider and compare

    createCatalogSearchQueryExpanderPlugins
    

    stack vs

    createSuggestionQueryExpanderPlugins
    

    ?

  • sebastian.larisch
    sebastian.larisch Spryker Customer Posts: 143 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited March 2023

    I added FuzzyQueryExpanderPlugin a while ago and was wondering why suggestion in search auto complete were different. It was solved after adding plugin to createSuggestionQueryExpanderPluginsas well

  • U048WDEP3R7
    U048WDEP3R7 Posts: 217 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UNGMX0012 I am actually trying to use the out of the box search features from the demo. I do not get any result even if I search a product by title. Is it normal?

  • sebastian.larisch
    sebastian.larisch Spryker Customer Posts: 143 πŸ§‘πŸ»β€πŸš€ - Cadet

    if u dont get any search results I would assume pub/sync did not run or has problems. can u check your docs in elasticsearch? u could have a look in ZED: Maintenance -> ElasticSearch

  • sebastian.larisch
    sebastian.larisch Spryker Customer Posts: 143 πŸ§‘πŸ»β€πŸš€ - Cadet

    spy_product_abstract_page_search is also good spot to check

  • U048WDEP3R7
    U048WDEP3R7 Posts: 217 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UNGMX0012 in the backoffice, I see:

    _page
    ***
    _product-review
    ***_
    _return_reason

  • sebastian.larisch
    sebastian.larisch Spryker Customer Posts: 143 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited March 2023

    these are the indexes. main one is the page index. click on it and u will see the documents. u should find product_abstract_* docs

  • U048WDEP3R7
    U048WDEP3R7 Posts: 217 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UNGMX0012 Yes it contains all the abstract product entries

  • sebastian.larisch
    sebastian.larisch Spryker Customer Posts: 143 πŸ§‘πŸ»β€πŸš€ - Cadet

    then not sure why u cant see products. I would use kibana and your search query and check if a filter is applied or anything that causes empty search results. hard to say