I am using ElasticSearch (0.15.0) as a search engine with full-text
search and word highlighting. It works but I'm not able to configure
an analyser with word stemming.
I know that my problem is very similar to http://stackoverflow.com/questions/4981001/why-elasticsearch-is-not-finding-my-term.
I tried the suggested solution but
it still doesn't work.
Cam you gist a curl recreation with the curl that created the index with the relevant mapping and analyzer config?
On Tuesday, March 1, 2011 at 9:21 PM, Torsten wrote:
Hello,
I am using Elasticsearch (0.15.0) as a search engine with full-text
search and word highlighting. It works but I'm not able to configure
an analyser with word stemming.
I know that my problem is very similar to Why ElasticSearch is not finding my term - Stack Overflow.
I tried the suggested solution but
it still doesn't work.
Cam you gist a curl recreation with the curl that created the index with the relevant mapping and analyzer config?
On Tuesday, March 1, 2011 at 9:21 PM, Torsten wrote:
Hello,
I am using Elasticsearch (0.15.0) as a search engine with full-text
search and word highlighting. It works but I'm not able to configure
an analyser with word stemming.
I know that my problem is very similar to Why ElasticSearch is not finding my term - Stack Overflow....
I tried the suggested solution but
it still doesn't work.
You don't specify the analyzer setting in the mapping, and the index_analyzer and search_analyzer do not control the default analyzers to be used in mappings case when none is specified. For that, you can specify the "default" name (for both index and search), or "default_index" and "default_search".
Also, make sure, using the analyze API, that you are getting what you are after, since combining ngram with stemming might make little sense (especially with the default ngram settings).
You can, if oyu want, have a multi_field mapping, and have one mapping indexed using just ngram, and one with just stemming.
-shay.banon
On Wednesday, March 2, 2011 at 9:56 PM, Torsten wrote:
Cam you gist a curl recreation with the curl that created the index with the relevant mapping and analyzer config?
On Tuesday, March 1, 2011 at 9:21 PM, Torsten wrote:
Hello,
I am using Elasticsearch (0.15.0) as a search engine with full-text
search and word highlighting. It works but I'm not able to configure
an analyser with word stemming.
I know that my problem is very similar to Why ElasticSearch is not finding my term - Stack Overflow....
I tried the suggested solution but
it still doesn't work.
You don't specify the analyzer setting in the mapping, and the index_analyzer and search_analyzer do not control the default analyzers to be used in mappings case when none is specified. For that, you can specify the "default" name (for both index and search), or "default_index" and "default_search".
Also, make sure, using the analyze API, that you are getting what you are after, since combining ngram with stemming might make little sense (especially with the default ngram settings).
You can, if oyu want, have a multi_field mapping, and have one mapping indexed using just ngram, and one with just stemming.
-shay.banon
On Wednesday, March 2, 2011 at 9:56 PM, Torsten wrote:
Cam you gist a curl recreation with the curl that created the index with the relevant mapping and analyzer config?
On Tuesday, March 1, 2011 at 9:21 PM, Torsten wrote:
Hello,
I am using Elasticsearch (0.15.0) as a search engine with full-text
search and word highlighting. It works but I'm not able to configure
an analyser with word stemming.
I know that my problem is very similar to Why ElasticSearch is not finding my term - Stack Overflow....
I tried the suggested solution but
it still doesn't work.
Torsten,
Can you gist your config so that others stumbling on this thread can
see what the proper mapping looks like? This seems to be a recurring
issue for people (myself included), so it would be great to have an
example of how to properly configure this.
You don't specify the analyzer setting in the mapping, and the index_analyzer and search_analyzer do not control the default analyzers to be used in mappings case when none is specified. For that, you can specify the "default" name (for both index and search), or "default_index" and "default_search".
Also, make sure, using the analyze API, that you are getting what you are after, since combining ngram withstemmingmight make little sense (especially with the default ngram settings).
You can, if oyu want, have a multi_field mapping, and have one mapping indexed using just ngram, and one with juststemming.
-shay.banon
On Wednesday, March 2, 2011 at 9:56 PM, Torsten wrote:
Cam you gist a curl recreation with the curl that created the index with the relevant mapping and analyzer config?
On Tuesday, March 1, 2011 at 9:21 PM, Torsten wrote:
Hello,
I am using Elasticsearch (0.15.0) as a search engine with full-text
search and word highlighting. It works but I'm not able to configure
an analyser with wordstemming.
I know that my problem is very similar to Why ElasticSearch is not finding my term - Stack Overflow....
I tried the suggested solution but
it still doesn't work.
Torsten,
Can you gist your config so that others stumbling on this thread can
see what the proper mapping looks like? This seems to be a recurring
issue for people (myself included), so it would be great to have an
example of how to properly configure this.
You don't specify the analyzer setting in the mapping, and the index_analyzer and search_analyzer do not control the default analyzers to be used in mappings case when none is specified. For that, you can specify the "default" name (for both index and search), or "default_index" and "default_search".
Also, make sure, using the analyze API, that you are getting what you are after, since combining ngram withstemmingmight make little sense (especially with the default ngram settings).
You can, if oyu want, have a multi_field mapping, and have one mapping indexed using just ngram, and one with juststemming.
-shay.banon
On Wednesday, March 2, 2011 at 9:56 PM, Torsten wrote:
Cam you gist a curl recreation with the curl that created the index with the relevant mapping and analyzer config?
On Tuesday, March 1, 2011 at 9:21 PM, Torsten wrote:
Hello,
I am using Elasticsearch (0.15.0) as a search engine with full-text
search and word highlighting. It works but I'm not able to configure
an analyser with wordstemming.
I know that my problem is very similar to Why ElasticSearch is not finding my term - Stack Overflow....
I tried the suggested solution but
it still doesn't work.
Torsten,
Can you gist your config so that others stumbling on this thread can
see what the proper mapping looks like? This seems to be a recurring
issue for people (myself included), so it would be great to have an
example of how to properly configure this.
You don't specify the analyzer setting in the mapping, and the index_analyzer and search_analyzer do not control the default analyzers to be used in mappings case when none is specified. For that, you can specify the "default" name (for both index and search), or "default_index" and "default_search".
Also, make sure, using the analyze API, that you are getting what you are after, since combining ngram withstemmingmight make little sense (especially with the default ngram settings).
You can, if oyu want, have a multi_field mapping, and have one mapping indexed using just ngram, and one with juststemming.
-shay.banon
On Wednesday, March 2, 2011 at 9:56 PM, Torsten wrote:
Cam you gist a curl recreation with the curl that created the index with the relevant mapping and analyzer config?
On Tuesday, March 1, 2011 at 9:21 PM, Torsten wrote:
Hello,
I am using Elasticsearch (0.15.0) as a search engine with full-text
search and word highlighting. It works but I'm not able to configure
an analyser with wordstemming.
I know that my problem is very similar to Why ElasticSearch is not finding my term - Stack Overflow....
I tried the suggested solution but
it still doesn't work.
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.