Filtering/querying on script field

Is it possible to filter or query on script_fields.
If so, can you provide any example..

--
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/6d4c738b-0975-4711-b9e1-a7d6eaa7830b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

1 Like

Hi Samatha,

I don’t think so because script field is created from fields of hit document, results of query/filter.
You can use script filter instead Elasticsearch Platform — Find real-time answers at scale | Elastic.

Masaru

On January 16, 2015 at 04:40:49, samatha kankipati (samatha.kankipati@gmail.com) wrote:

Is it possible to filter or query on script_fields.
If so, can you provide any example..

--
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/6d4c738b-0975-4711-b9e1-a7d6eaa7830b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/etPan.54b89229.3d1b58ba.1877%40citra.local.
For more options, visit https://groups.google.com/d/optout.