Cannot make hunspell to work


(muhamed alibegovic) #1

Hello,

I'm new to ES and also search engines. I would like to use hunspell for
stemming the croatian language. This is my test setup and how I search

curl -XPUT 'http://localhost:9200/test50k' -d '{"settings": {"analysis":
{"filter": {"hunspell_hr": {"type": "hunspell","locale":
"hr_HR","ignoreCase": "true"}}}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/_mapping' -d
'{"concepts": {"properties" : {"description" : { "type" : "string",
"filter" : "hunspell_hr" }}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1' -d '{"name": "miki",
"description": "mi bi smo voljeli da nađemo kuće u centru grada. Jer volimo
da imamo vrt a i da su nam blizu objekti kulture."}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1'
curl -s 'http://localhost:9200/test50k/concepts/_search?pretty=true' -d
'{"query": {"query_string": {"query": "description:kuća"}}'

Thanks!

--


(muhamed alibegovic) #2

I forgot to mention that I can not make it work. Please can someone post me
correct setup and usage.

Thanks

On Sunday, December 16, 2012 12:25:32 PM UTC+1, muhamed alibegovic wrote:

Hello,

I'm new to ES and also search engines. I would like to use hunspell for
stemming the croatian language. This is my test setup and how I search

curl -XPUT 'http://localhost:9200/test50k' -d '{"settings": {"analysis":
{"filter": {"hunspell_hr": {"type": "hunspell","locale":
"hr_HR","ignoreCase": "true"}}}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/_mapping' -d
'{"concepts": {"properties" : {"description" : { "type" : "string",
"filter" : "hunspell_hr" }}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1' -d '{"name":
"miki", "description": "mi bi smo voljeli da nađemo kuće u centru grada.
Jer volimo da imamo vrt a i da su nam blizu objekti kulture."}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1'
curl -s 'http://localhost:9200/test50k/concepts/_search?pretty=true' -d
'{"query": {"query_string": {"query": "description:kuća"}}'

Thanks!

--


(Martijn Van Groningen) #3

Hi Muhamed,

Did you install the Hunspell plugin
(https://github.com/jprante/elasticsearch-analysis-hunspell)?
What kind of error did you experience?

Martijn

On 16 December 2012 20:39, muhamed alibegovic
alibegovic.muhamed@gmail.com wrote:

I forgot to mention that I can not make it work. Please can someone post me
correct setup and usage.

Thanks

On Sunday, December 16, 2012 12:25:32 PM UTC+1, muhamed alibegovic wrote:

Hello,

I'm new to ES and also search engines. I would like to use hunspell for
stemming the croatian language. This is my test setup and how I search

curl -XPUT 'http://localhost:9200/test50k' -d '{"settings": {"analysis":
{"filter": {"hunspell_hr": {"type": "hunspell","locale":
"hr_HR","ignoreCase": "true"}}}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/_mapping' -d
'{"concepts": {"properties" : {"description" : { "type" : "string", "filter"
: "hunspell_hr" }}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1' -d '{"name": "miki",
"description": "mi bi smo voljeli da nađemo kuće u centru grada. Jer volimo
da imamo vrt a i da su nam blizu objekti kulture."}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1'
curl -s 'http://localhost:9200/test50k/concepts/_search?pretty=true' -d
'{"query": {"query_string": {"query": "description:kuća"}}'

Thanks!

--

--
Met vriendelijke groet,

Martijn van Groningen

--


(Igor Motov) #4

Hi Muhamed,

After installing the plugin as Martijn suggested, make sure that you are
using the filter from the plugin in an analyzer. Here is an
example: https://gist.github.com/4320493 . Don't forget to delete the index
(or at least the mapping) before running this example, otherwise the new
mapping will not get applied.

Igor

On Monday, December 17, 2012 12:41:46 AM UTC-8, Martijn v Groningen wrote:

Hi Muhamed,

Did you install the Hunspell plugin
(https://github.com/jprante/elasticsearch-analysis-hunspell)?
What kind of error did you experience?

Martijn

On 16 December 2012 20:39, muhamed alibegovic
<alibegovi...@gmail.com <javascript:>> wrote:

I forgot to mention that I can not make it work. Please can someone post
me
correct setup and usage.

Thanks

On Sunday, December 16, 2012 12:25:32 PM UTC+1, muhamed alibegovic
wrote:

Hello,

I'm new to ES and also search engines. I would like to use hunspell for
stemming the croatian language. This is my test setup and how I search

curl -XPUT 'http://localhost:9200/test50k' -d '{"settings":
{"analysis":

{"filter": {"hunspell_hr": {"type": "hunspell","locale":
"hr_HR","ignoreCase": "true"}}}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/_mapping' -d
'{"concepts": {"properties" : {"description" : { "type" : "string",
"filter"

: "hunspell_hr" }}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1' -d '{"name":
"miki",

"description": "mi bi smo voljeli da nađemo kuće u centru grada. Jer
volimo

da imamo vrt a i da su nam blizu objekti kulture."}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1'
curl -s 'http://localhost:9200/test50k/concepts/_search?pretty=true'
-d

'{"query": {"query_string": {"query": "description:kuća"}}'

Thanks!

--

--
Met vriendelijke groet,

Martijn van Groningen

--


(Jörg Prante) #5

Hi,

if there is something missing with the hunspell plugin, feel free to enter
an issue at github, with the error message (if any)

It's quite a while since I updated it, so the chance is high it has to be
accommodated to work with ES 0.19 or 0.20

Cheers,

Jörg

On Monday, December 17, 2012 7:14:28 PM UTC+1, Igor Motov wrote:

Hi Muhamed,

After installing the plugin as Martijn suggested, make sure that you are
using the filter from the plugin in an analyzer. Here is an example:
https://gist.github.com/4320493 . Don't forget to delete the index (or at
least the mapping) before running this example, otherwise the new mapping
will not get applied.

Igor

On Monday, December 17, 2012 12:41:46 AM UTC-8, Martijn v Groningen wrote:

Hi Muhamed,

Did you install the Hunspell plugin
(https://github.com/jprante/elasticsearch-analysis-hunspell)?
What kind of error did you experience?

Martijn

On 16 December 2012 20:39, muhamed alibegovic
alibegovi...@gmail.com wrote:

I forgot to mention that I can not make it work. Please can someone
post me
correct setup and usage.

Thanks

On Sunday, December 16, 2012 12:25:32 PM UTC+1, muhamed alibegovic
wrote:

Hello,

I'm new to ES and also search engines. I would like to use hunspell
for

stemming the croatian language. This is my test setup and how I search

curl -XPUT 'http://localhost:9200/test50k' -d '{"settings":
{"analysis":

{"filter": {"hunspell_hr": {"type": "hunspell","locale":
"hr_HR","ignoreCase": "true"}}}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/_mapping' -d
'{"concepts": {"properties" : {"description" : { "type" : "string",
"filter"

: "hunspell_hr" }}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1' -d '{"name":
"miki",

"description": "mi bi smo voljeli da nađemo kuće u centru grada. Jer
volimo

da imamo vrt a i da su nam blizu objekti kulture."}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1'
curl -s 'http://localhost:9200/test50k/concepts/_search?pretty=true'
-d

'{"query": {"query_string": {"query": "description:kuća"}}'

Thanks!

--

--
Met vriendelijke groet,

Martijn van Groningen

--


(muhamed alibegovic) #6

I did install it but I did't know to make it work.

On Monday, December 17, 2012 8:03:27 PM UTC+1, Jörg Prante wrote:

Hi,

if there is something missing with the hunspell plugin, feel free to enter
an issue at github, with the error message (if any)

https://github.com/jprante/elasticsearch-analysis-hunspell

It's quite a while since I updated it, so the chance is high it has to be
accommodated to work with ES 0.19 or 0.20

Cheers,

Jörg

On Monday, December 17, 2012 7:14:28 PM UTC+1, Igor Motov wrote:

Hi Muhamed,

After installing the plugin as Martijn suggested, make sure that you are
using the filter from the plugin in an analyzer. Here is an example:
https://gist.github.com/4320493 . Don't forget to delete the index (or
at least the mapping) before running this example, otherwise the new
mapping will not get applied.

Igor

On Monday, December 17, 2012 12:41:46 AM UTC-8, Martijn v Groningen wrote:

Hi Muhamed,

Did you install the Hunspell plugin
(https://github.com/jprante/elasticsearch-analysis-hunspell)?
What kind of error did you experience?

Martijn

On 16 December 2012 20:39, muhamed alibegovic
alibegovi...@gmail.com wrote:

I forgot to mention that I can not make it work. Please can someone
post me
correct setup and usage.

Thanks

On Sunday, December 16, 2012 12:25:32 PM UTC+1, muhamed alibegovic
wrote:

Hello,

I'm new to ES and also search engines. I would like to use hunspell
for

stemming the croatian language. This is my test setup and how I
search

curl -XPUT 'http://localhost:9200/test50k' -d '{"settings":
{"analysis":

{"filter": {"hunspell_hr": {"type": "hunspell","locale":
"hr_HR","ignoreCase": "true"}}}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/_mapping' -d
'{"concepts": {"properties" : {"description" : { "type" : "string",
"filter"

: "hunspell_hr" }}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1' -d '{"name":
"miki",

"description": "mi bi smo voljeli da nađemo kuće u centru grada. Jer
volimo

da imamo vrt a i da su nam blizu objekti kulture."}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1'
curl -s 'http://localhost:9200/test50k/concepts/_search?pretty=true'
-d

'{"query": {"query_string": {"query": "description:kuća"}}'

Thanks!

--

--
Met vriendelijke groet,

Martijn van Groningen

--


(muhamed alibegovic) #7

Great. Thanks for the script.

On Monday, December 17, 2012 7:14:28 PM UTC+1, Igor Motov wrote:

Hi Muhamed,

After installing the plugin as Martijn suggested, make sure that you are
using the filter from the plugin in an analyzer. Here is an example:
https://gist.github.com/4320493 . Don't forget to delete the index (or at
least the mapping) before running this example, otherwise the new mapping
will not get applied.

Igor

On Monday, December 17, 2012 12:41:46 AM UTC-8, Martijn v Groningen wrote:

Hi Muhamed,

Did you install the Hunspell plugin
(https://github.com/jprante/elasticsearch-analysis-hunspell)?
What kind of error did you experience?

Martijn

On 16 December 2012 20:39, muhamed alibegovic
alibegovi...@gmail.com wrote:

I forgot to mention that I can not make it work. Please can someone
post me
correct setup and usage.

Thanks

On Sunday, December 16, 2012 12:25:32 PM UTC+1, muhamed alibegovic
wrote:

Hello,

I'm new to ES and also search engines. I would like to use hunspell
for

stemming the croatian language. This is my test setup and how I search

curl -XPUT 'http://localhost:9200/test50k' -d '{"settings":
{"analysis":

{"filter": {"hunspell_hr": {"type": "hunspell","locale":
"hr_HR","ignoreCase": "true"}}}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/_mapping' -d
'{"concepts": {"properties" : {"description" : { "type" : "string",
"filter"

: "hunspell_hr" }}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1' -d '{"name":
"miki",

"description": "mi bi smo voljeli da nađemo kuće u centru grada. Jer
volimo

da imamo vrt a i da su nam blizu objekti kulture."}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1'
curl -s 'http://localhost:9200/test50k/concepts/_search?pretty=true'
-d

'{"query": {"query_string": {"query": "description:kuća"}}'

Thanks!

--

--
Met vriendelijke groet,

Martijn van Groningen

--


(s.delcour) #8

Hi,

did u succeed to make it work ? I cant install it.
I tried
bin/plugin -install jprante/elasticsearch-analysis-hunspell
-> Installing jprante/elasticsearch-analysis-hunspell...
Trying
https://github.com/jprante/elasticsearch-analysis-hunspell/zipball/master...
(assuming site plugin)
Downloading
.........................................................................................................................................DONE
Plugin installation assumed to be site plugin, but contains source code,
aborting installation...

I also tried
bin/plugin -install jprante/elasticsearch-analysis-hunspell
but then nothing happen

any ideas ?

Le dimanche 16 décembre 2012 12:25:32 UTC+1, muhamed alibegovic a écrit :

Hello,

I'm new to ES and also search engines. I would like to use hunspell for
stemming the croatian language. This is my test setup and how I search

curl -XPUT 'http://localhost:9200/test50k' -d '{"settings": {"analysis":
{"filter": {"hunspell_hr": {"type": "hunspell","locale":
"hr_HR","ignoreCase": "true"}}}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/_mapping' -d
'{"concepts": {"properties" : {"description" : { "type" : "string",
"filter" : "hunspell_hr" }}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1' -d '{"name":
"miki", "description": "mi bi smo voljeli da nađemo kuće u centru grada.
Jer volimo da imamo vrt a i da su nam blizu objekti kulture."}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1'
curl -s 'http://localhost:9200/test50k/concepts/_search?pretty=true' -d
'{"query": {"query_string": {"query": "description:kuća"}}'

Thanks!

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Alexander Reelsen) #9

Hey,

please do not reuse old threads but rather start a new one.

If you are using elasticsearch 0.90, the hunspell plugin is already part of
the elasticsearch core and you can just use that one.

--Alex

On Mon, Jul 15, 2013 at 12:59 AM, s.delcour@gmail.com wrote:

Hi,

did u succeed to make it work ? I cant install it.
I tried
bin/plugin -install jprante/elasticsearch-analysis-hunspell
-> Installing jprante/elasticsearch-analysis-hunspell...
Trying
https://github.com/jprante/elasticsearch-analysis-hunspell/zipball/master...
(assuming site plugin)
Downloading
.........................................................................................................................................DONE
Plugin installation assumed to be site plugin, but contains source code,
aborting installation...

I also tried
bin/plugin -install jprante/elasticsearch-analysis-hunspell
but then nothing happen

any ideas ?

Le dimanche 16 décembre 2012 12:25:32 UTC+1, muhamed alibegovic a écrit :

Hello,

I'm new to ES and also search engines. I would like to use hunspell for
stemming the croatian language. This is my test setup and how I search

curl -XPUT 'http://localhost:9200/test50k**' -d '{"settings":
{"analysis": {"filter": {"hunspell_hr": {"type": "hunspell","locale":
"hr_HR","ignoreCase": "true"}}}}}'
curl -XPUT 'http://localhost:9200/**test50k/concepts/_mappinghttp://localhost:9200/test50k/concepts/_mapping'
-d '{"concepts": {"properties" : {"description" : { "type" : "string",
"filter" : "hunspell_hr" }}}}'
curl -XPUT 'http://localhost:9200/**test50k/concepts/1http://localhost:9200/test50k/concepts/1'
-d '{"name": "miki", "description": "mi bi smo voljeli da nađemo kuće u
centru grada. Jer volimo da imamo vrt a i da su nam blizu objekti
kulture."}'
curl -XPUT 'http://localhost:9200/**test50k/concepts/1http://localhost:9200/test50k/concepts/1
'
curl -s 'http://localhost:9200/**test50k/concepts/_search?**pretty=truehttp://localhost:9200/test50k/concepts/_search?pretty=true'
-d '{"query": {"query_string": {"query": "description:kuća"}}'

Thanks!

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Michael Schlenzka) #10

Hello Alex,

Thx for the information - was just going down the same route and trying to
install the hunspell plugin athough am using ES 0.90.7.

One related question - should the plugin show in the plugins dir or when
querying installed plugins with plugin -l ?

Searched for site:www.elasticsearch.org/blog/ hunspell but could not find
anything in the "release note" posts.

Michael

BTW great work & thank you for that, too ->
http://spinscale.github.io/elasticsearch-intro-plugins/#/

On Monday, July 15, 2013 8:12:04 AM UTC+2, Alexander Reelsen wrote:

Hey,

please do not reuse old threads but rather start a new one.

If you are using elasticsearch 0.90, the hunspell plugin is already part
of the elasticsearch core and you can just use that one.

--Alex

On Mon, Jul 15, 2013 at 12:59 AM, <s.de...@gmail.com <javascript:>> wrote:

Hi,

did u succeed to make it work ? I cant install it.
I tried
bin/plugin -install jprante/elasticsearch-analysis-hunspell
-> Installing jprante/elasticsearch-analysis-hunspell...
Trying
https://github.com/jprante/elasticsearch-analysis-hunspell/zipball/master.https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fjprante%2Felasticsearch-analysis-hunspell%2Fzipball%2Fmaster.&sa=D&sntz=1&usg=AFQjCNH05dbJRcawTEdIbWqpsdGLPiCwBw..
(assuming site plugin)
Downloading
.........................................................................................................................................DONE
Plugin installation assumed to be site plugin, but contains source code,
aborting installation...

I also tried
bin/plugin -install jprante/elasticsearch-analysis-hunspell
but then nothing happen

any ideas ?

Le dimanche 16 décembre 2012 12:25:32 UTC+1, muhamed alibegovic a écrit :

Hello,

I'm new to ES and also search engines. I would like to use hunspell for
stemming the croatian language. This is my test setup and how I search

curl -XPUT 'http://localhost:9200/test50khttp://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k&sa=D&sntz=1&usg=AFQjCNFHgBDWx-sMqv4hyGeLP6O2zZxivQ'
-d '{"settings": {"analysis": {"filter": {"hunspell_hr": {"type":
"hunspell","locale": "hr_HR","ignoreCase": "true"}}}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/_mappinghttp://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k%2Fconcepts%2F_mapping&sa=D&sntz=1&usg=AFQjCNGP2n_vcku1IiUrNW9loSUizR6fXw'
-d '{"concepts": {"properties" : {"description" : { "type" : "string",
"filter" : "hunspell_hr" }}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k%2Fconcepts%2F1&sa=D&sntz=1&usg=AFQjCNF5Wq-xLxioYJ-L0hHWfaCxBV0X9g'
-d '{"name": "miki", "description": "mi bi smo voljeli da nađemo kuće u
centru grada. Jer volimo da imamo vrt a i da su nam blizu objekti
kulture."}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k%2Fconcepts%2F1&sa=D&sntz=1&usg=AFQjCNF5Wq-xLxioYJ-L0hHWfaCxBV0X9g
'
curl -s 'http://localhost:9200/test50k/concepts/_search?pretty=truehttp://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k%2Fconcepts%2F_search%3Fpretty%3Dtrue&sa=D&sntz=1&usg=AFQjCNEyVtU9OyWhH8MLue-qt2UfQCHVhA'
-d '{"query": {"query_string": {"query": "description:kuća"}}'

Thanks!

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Alexander Reelsen) #11

Hey,

please do not reuse old threads but rather start a new one. :slight_smile:

As hunspell is now part of the core, it will never be shown as a plugin
anywhere. It is part of the core as of 0.90.0 - also the plugin seems only
to support up to elasticsearch 0.18.0, judging from

--Alex

On Sun, Nov 24, 2013 at 12:55 PM, Michael Schlenzka
michael@schlenzka.comwrote:

Hello Alex,

Thx for the information - was just going down the same route and trying to
install the hunspell plugin athough am using ES 0.90.7.

One related question - should the plugin show in the plugins dir or when
querying installed plugins with plugin -l ?

Searched for site:www.elasticsearch.org/blog/ hunspell but could not
find anything in the "release note" posts.

Michael

BTW great work & thank you for that, too ->
http://spinscale.github.io/elasticsearch-intro-plugins/#/

On Monday, July 15, 2013 8:12:04 AM UTC+2, Alexander Reelsen wrote:

Hey,

please do not reuse old threads but rather start a new one.

If you are using elasticsearch 0.90, the hunspell plugin is already part
of the elasticsearch core and you can just use that one.

--Alex

On Mon, Jul 15, 2013 at 12:59 AM, s.de...@gmail.com wrote:

Hi,

did u succeed to make it work ? I cant install it.
I tried
bin/plugin -install jprante/elasticsearch-analysis-hunspell
-> Installing jprante/elasticsearch-analysis-hunspell...
Trying https://github.com/jprante/elasticsearch-analysis-
hunspell/zipball/master.https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fjprante%2Felasticsearch-analysis-hunspell%2Fzipball%2Fmaster.&sa=D&sntz=1&usg=AFQjCNH05dbJRcawTEdIbWqpsdGLPiCwBw..
(assuming site plugin)
Downloading ............................................................
............................................................
.................DONE
Plugin installation assumed to be site plugin, but contains source code,
aborting installation...

I also tried
bin/plugin -install jprante/elasticsearch-analysis-hunspell
but then nothing happen

any ideas ?

Le dimanche 16 décembre 2012 12:25:32 UTC+1, muhamed alibegovic a écrit :

Hello,

I'm new to ES and also search engines. I would like to use hunspell for
stemming the croatian language. This is my test setup and how I search

curl -XPUT 'http://localhost:9200/test50khttp://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k&sa=D&sntz=1&usg=AFQjCNFHgBDWx-sMqv4hyGeLP6O2zZxivQ'
-d '{"settings": {"analysis": {"filter": {"hunspell_hr": {"type":
"hunspell","locale": "hr_HR","ignoreCase": "true"}}}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/_mappinghttp://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k%2Fconcepts%2F_mapping&sa=D&sntz=1&usg=AFQjCNGP2n_vcku1IiUrNW9loSUizR6fXw'
-d '{"concepts": {"properties" : {"description" : { "type" : "string",
"filter" : "hunspell_hr" }}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k%2Fconcepts%2F1&sa=D&sntz=1&usg=AFQjCNF5Wq-xLxioYJ-L0hHWfaCxBV0X9g'
-d '{"name": "miki", "description": "mi bi smo voljeli da nađemo kuće u
centru grada. Jer volimo da imamo vrt a i da su nam blizu objekti
kulture."}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k%2Fconcepts%2F1&sa=D&sntz=1&usg=AFQjCNF5Wq-xLxioYJ-L0hHWfaCxBV0X9g
'
curl -s 'http://localhost:9200/test50k/concepts/_search?pretty=truehttp://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k%2Fconcepts%2F_search%3Fpretty%3Dtrue&sa=D&sntz=1&usg=AFQjCNEyVtU9OyWhH8MLue-qt2UfQCHVhA'
-d '{"query": {"query_string": {"query": "description:kuća"}}'

Thanks!

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Michael Schlenzka) #12

Sorry about the reuse :confused:

Thank you for the answer and clarification - was not looking in the right
place before - have meanwhile found the same answer on github (
https://github.com/elasticsearch/elasticsearch/issues/646 ), wanted to post
later, but you were faster.

Michael

On Sunday, November 24, 2013 2:13:32 PM UTC+1, Alexander Reelsen wrote:

Hey,

please do not reuse old threads but rather start a new one. :slight_smile:

As hunspell is now part of the core, it will never be shown as a plugin
anywhere. It is part of the core as of 0.90.0 - also the plugin seems only
to support up to elasticsearch 0.18.0, judging from
https://github.com/jprante/elasticsearch-analysis-hunspellhttps://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fjprante%2Felasticsearch-analysis-hunspell&sa=D&sntz=1&usg=AFQjCNGr4pIKPufE7FoNGQPrZF91J0_t9g

--Alex

On Sun, Nov 24, 2013 at 12:55 PM, Michael Schlenzka <mic...@schlenzka.com<javascript:>

wrote:

Hello Alex,

Thx for the information - was just going down the same route and trying
to install the hunspell plugin athough am using ES 0.90.7.

One related question - should the plugin show in the plugins dir or when
querying installed plugins with plugin -l ?

Searched for site:www.elasticsearch.org/blog/http://www.google.com/url?q=http%3A%2F%2Fwww.elasticsearch.org%2Fblog%2F&sa=D&sntz=1&usg=AFQjCNEyoA9DUiPvK1Re1gmvdXKkHbzDDQhunspell but could not find anything in the "release note" posts.

Michael

BTW great work & thank you for that, too ->
http://spinscale.github.io/elasticsearch-intro-plugins/#/http://www.google.com/url?q=http%3A%2F%2Fspinscale.github.io%2Felasticsearch-intro-plugins%2F%23%2F&sa=D&sntz=1&usg=AFQjCNFRi4P6PX7AB5gaIa7YEbammJmCqA

On Monday, July 15, 2013 8:12:04 AM UTC+2, Alexander Reelsen wrote:

Hey,

please do not reuse old threads but rather start a new one.

If you are using elasticsearch 0.90, the hunspell plugin is already part
of the elasticsearch core and you can just use that one.

--Alex

On Mon, Jul 15, 2013 at 12:59 AM, s.de...@gmail.com wrote:

Hi,

did u succeed to make it work ? I cant install it.
I tried
bin/plugin -install jprante/elasticsearch-analysis-hunspell
-> Installing jprante/elasticsearch-analysis-hunspell...
Trying https://github.com/jprante/elasticsearch-analysis-
hunspell/zipball/master.https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fjprante%2Felasticsearch-analysis-hunspell%2Fzipball%2Fmaster.&sa=D&sntz=1&usg=AFQjCNH05dbJRcawTEdIbWqpsdGLPiCwBw..
(assuming site plugin)
Downloading ..............................
............................................................
...............................................DONE
Plugin installation assumed to be site plugin, but contains source
code, aborting installation...

I also tried
bin/plugin -install jprante/elasticsearch-analysis-hunspell
but then nothing happen

any ideas ?

Le dimanche 16 décembre 2012 12:25:32 UTC+1, muhamed alibegovic a
écrit :

Hello,

I'm new to ES and also search engines. I would like to use hunspell
for stemming the croatian language. This is my test setup and how I search

curl -XPUT 'http://localhost:9200/test50khttp://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k&sa=D&sntz=1&usg=AFQjCNFHgBDWx-sMqv4hyGeLP6O2zZxivQ'
-d '{"settings": {"analysis": {"filter": {"hunspell_hr": {"type":
"hunspell","locale": "hr_HR","ignoreCase": "true"}}}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/_mappinghttp://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k%2Fconcepts%2F_mapping&sa=D&sntz=1&usg=AFQjCNGP2n_vcku1IiUrNW9loSUizR6fXw'
-d '{"concepts": {"properties" : {"description" : { "type" : "string",
"filter" : "hunspell_hr" }}}}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k%2Fconcepts%2F1&sa=D&sntz=1&usg=AFQjCNF5Wq-xLxioYJ-L0hHWfaCxBV0X9g'
-d '{"name": "miki", "description": "mi bi smo voljeli da nađemo kuće u
centru grada. Jer volimo da imamo vrt a i da su nam blizu objekti
kulture."}'
curl -XPUT 'http://localhost:9200/test50k/concepts/1http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k%2Fconcepts%2F1&sa=D&sntz=1&usg=AFQjCNF5Wq-xLxioYJ-L0hHWfaCxBV0X9g
'
curl -s 'http://localhost:9200/test50k/concepts/_search?pretty=truehttp://www.google.com/url?q=http%3A%2F%2Flocalhost%3A9200%2Ftest50k%2Fconcepts%2F_search%3Fpretty%3Dtrue&sa=D&sntz=1&usg=AFQjCNEyVtU9OyWhH8MLue-qt2UfQCHVhA'
-d '{"query": {"query_string": {"query": "description:kuća"}}'

Thanks!

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #13