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

How to allow "-" to be searchable? #1011

Closed
pankajpragma opened this issue Jul 19, 2018 · 3 comments
Closed

How to allow "-" to be searchable? #1011

pankajpragma opened this issue Jul 19, 2018 · 3 comments

Comments

@pankajpragma
Copy link

Hi,

For example a product name "Anti-Phospho-TGFBR1 (S165) Polyclonal Antibody".

It doesn't appear in the search results when I search for "TGFBR1" but if I rename the product name by replacing "-" with space "Anti Phospho TGFBR1 (S165) Polyclonal Antibody", then it appears in the results.

However, I can't remove the "-" from all products because they make sense with the product name or SKU.

Is there any way to let elastic search ignore "-" while indexing and searching?

afoucret pushed a commit to afoucret/elasticsuite that referenced this issue Aug 1, 2018
afoucret pushed a commit to afoucret/elasticsuite that referenced this issue Aug 1, 2018
@afoucret
Copy link
Contributor

afoucret commented Aug 1, 2018

Should be fixed by PR #1022

@simonrl
Copy link
Contributor

simonrl commented Jan 16, 2020

Hi,

any idea how I implement only the changes from #1022 without updating to the latest version?

I tried defining the analyzers with new params in my own elasticsuite_analysis.xml file in a new module, but get the error message that multiple nodes have been found for /analysis/analyzers/analyzer[@name='standard' and @language='default']/filters/filter

Thanks

@rbayet
Copy link
Collaborator

rbayet commented Jan 17, 2020

Hi @simonrl,

Could you open a new issue with your question, all the while referencing this one ?
Posting in an issue closed for months is a recipe for us to miss your comment/question, due to over-abundance of github notifications from third party repositories.

Regards,

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

No branches or pull requests

4 participants