I'm using ElasticSearch for storing some documents to create a search engine, everything works perfectly.
we may store similar documents in our elastic cloud.
I can see that some search engines omit similar data like Google.
Check out this message at the bottom of Google's result:
I need to implement exactly this, I want to know is there any way to omit similar documents in query results using ElasticSearch and give this option to the user that he either wants to see all results or not?
any suggestions, please?
UPDATE
I decided to add more information to make it clear. consider these two documents below:
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Node.js is a platform built on Chrome's V8 JavaScript engine.
there are a lot of documents like these in my elastic index. how can I omit similars and just show one of them in the DSL query?
is there any way to achieve this or need AI, ML, and these kinds of stuff to implement this?
