Is It possible to verify that the value of a field in elasticsearch is in a external blacklist?


(Fedele Mantuano) #1

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+unsubscribe@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.


(Fedele Mantuano) #2

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+unsubscribe@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.


(system) #3