Is there any way in ES that I can specify an ontology of terms that
should match as being equivalent. For instance a search for "Dave"
should match "David" and a search for "David" should match "Dave".
David
Is there any way in ES that I can specify an ontology of terms that
should match as being equivalent. For instance a search for "Dave"
should match "David" and a search for "David" should match "Dave".
David
I don't think there is any out of the box support, but I believe that
a custom analyzer could be written to transform tokens to their base
meaning. Baked in support would be super cool, though.
Best Regards,
Paul
On Sep 10, 1:08 pm, David Jensen djense...@gmail.com wrote:
Is there any way in ES that I can specify an ontology of terms that
should match as being equivalent. For instance a search for "Dave"
should match "David" and a search for "David" should match "Dave".David
I would guess that this what you would need is word stemming. Lucene has a
SnowballAnalyzer (
SnowballAnalyzer (Lucene 2.9.4 API))
for word stemming. So you can probably use that analyzer?
On Fri, Sep 10, 2010 at 8:08 PM, David Jensen djensen47@gmail.com wrote:
Is there any way in ES that I can specify an ontology of terms that
should match as being equivalent. For instance a search for "Dave"
should match "David" and a search for "David" should match "Dave".David
The http://www.elasticsearch.com/docs/elasticsearch/index_modules/analysis/docs
covers the analyzers, tokenizers and token filters you can use. For
example, you can try the porterstem (
http://www.elasticsearch.com/docs/elasticsearch/index_modules/analysis/tokenfilter/)
token filter as part of custom analyzer you build.
On Fri, Sep 10, 2010 at 10:26 PM, Paul Loy keteracel@gmail.com wrote:
I would guess that this what you would need is word stemming. Lucene has a
SnowballAnalyzer (
SnowballAnalyzer (Lucene 2.9.4 API))
for word stemming. So you can probably use that analyzer?On Fri, Sep 10, 2010 at 8:08 PM, David Jensen djensen47@gmail.com wrote:
Is there any way in ES that I can specify an ontology of terms that
should match as being equivalent. For instance a search for "Dave"
should match "David" and a search for "David" should match "Dave".David
--
Maybe you simply need synonyms functionality?
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/
On Sep 10, 3:08 pm, David Jensen djense...@gmail.com wrote:
Is there any way in ES that I can specify an ontology of terms that
should match as being equivalent. For instance a search for "Dave"
should match "David" and a search for "David" should match "Dave".David
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.