Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a product with name "Simple Product 331" by query "Product 33" #1655

Closed
Neos2007 opened this issue Jan 3, 2020 · 2 comments
Closed
Labels

Comments

@Neos2007
Copy link

Neos2007 commented Jan 3, 2020

Environment:
Magento 2.3.3 Commerce edition
ElasticSuite v 2.8.3

I'm configuring elastic suite on a new environment with test data.
Using Search query "Product 33" magento now returns products with names: "Configurable Product 33"," Simple product 33" and "Configurable Product Attribute Set 3 3".
Question: is it possible to configure elasticsuite extension that search using query like "Product 33" will return also products with names like Simple product 331, Simple product 332?...
Now to get for example the product with name "Simple product 331" in search I have to enter a query either "Product" (which will return also lot of other products) or "Product 331" (which will return exactly the product "Simple product 331")

image
image

@androshchuk
Copy link
Contributor

androshchuk commented Jan 6, 2020

Hello @Neos2007

You can try changing the settings. For example ElasticSuite -> Search Relevance -> Relevance Configuration -> Fulltext Base Settings -> Minimum Should Match http://joxi.ru/ZrJ0V44iMk3Q82
But it'll impair search results (result for minimum_should_match = 99% - http://joxi.ru/v29nQDDHzjdQzA)

For more information, please, read https://github.com/Smile-SA/elasticsuite/wiki/FulltextSearchEngineBasicConfiguration

Regards

@romainruaud
Copy link
Collaborator

I close since it's a duplicate of #797 #1536 #970

Please give a try to the solution provided by @androshchuk which could be a workaround for you, but as he stated, this could also impair results.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants