Hi,

i have a question. I have an elasticsearch server and I use logstash to put 
log into it, but I noticed that the mail are tokenized:

[email protected] became [test, example, test].

It is possibile don't token word with elasticsearch?

I found this guide:


*http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-word-delimiter-tokenfilter.html*but
 
I can't work.

Is this code correct?

curl -XPUT http://localhost:9200/test_index/ -d '
{                                                                               
                                      

  "settings": { 
      "analysis" : { 
            "filter" : { 
                "word_filter" : { 
                    "type":"word_delimiter",
                    "generate_word_parts":"false",
                    "generate_number_parts":"false",
                    "split_on_numerics":"false",
                    "split_on_case_change":"false",
                    "preserve_original":"true" 
}}}}}'


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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/d1550294-777b-40f6-9f70-3531ddf9a7cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to