Re: Is It possible to verify that the value of a field in elasticsearch is in a external blacklist?
I solved with this: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html#_terms_lookup_mechanism On Monday, August 4, 2014 6:25:56 PM UTC+2, Fedele Mantuano wrote: > > Hi, > > Is It possible to verify that the value of a field in elasticsearch is in > a external list? > > I have a blacklist of ip addresses and I want to check if a field value is > in this blacklist. > > Thanks a lot. > > > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4fed3c0e-8b1b-45cb-b839-a263b5583860%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Is It possible to verify that the value of a field in elasticsearch is in a external blacklist?
Hi, Is It possible to verify that the value of a field in elasticsearch is in a external list? I have a blacklist of ip addresses and I want to check if a field value is in this blacklist. Thanks a lot. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c5cf478a-1add-4745-9c52-e6aea532d327%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: It is possibile don't token word with elasticsearch?
Thanks. I do like this: curl -XPUT http://localhost:9200/index_test/ -d ' { "mappings": { "type_test1" : { "properties" : { "sender-address" : { "type" : "string", "index": "not_analyzed" }, "recipient-address" : { "type" : "string", "index": "not_analyzed" }}}, "type_test2" : { "properties" : { "User-Agent" : { "type" : "string", "index": "not_analyzed" }' and I solved. Bye bye On Thursday, July 31, 2014 9:55:42 PM UTC+2, Fedele Mantuano wrote: > > 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: > > t...@example-test.com 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 > > <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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9fa76939-84ec-41c4-a47f-a0b3543a77a0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
It is possibile don't token word with elasticsearch?
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: t...@example-test.com 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 elasticsearch+unsubscr...@googlegroups.com. 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.