Problems configuring ES


(ulizama) #1

Hello,

I'm starting to use ES but I'm having some problems with the initial
configuration. I'll be indexing and searching through elements in spanish
and reading I found out that a possible solution it's to use snowball with
the language set to Spanish.

The current configuration file I'm using is:

ES starts up correctly, but when I create an index the settings don't seem
to stick:

http://localhost:9200/testing/_settings

{"testing":{"settings":{"index.number_of_shards":"5","index.number_of_replicas":"1"}}}

From what I understand I should be able to see the filters configured on the
index.

Then if I run the analyzer even stranger things happen:

curl -XGET
'http://127.0.0.1:9200/testing/_analyze?pretty=1&text=d�a+soleado'

[Fri Aug 5 10:39:18 2011] Response:

{

"tokens" : [

{

"end_offset" : 3,

"position" : 1,

"start_offset" : 0,

"type" : "word",

"token" : "d�a"

},

{

"end_offset" : 11,

"position" : 2,

"start_offset" : 4,

"type" : "word",

"token" : "sol"

}

]

}

The word 'soleado' for some reason gets chopped, and well the search returns
no results, so I figure I'm having a problem with my indexer, hope you can
give me some directions on what I may be doing wrong.

Thanks

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Problems-configuring-ES-tp3229069p3229069.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(system) #2