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 
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-script-filter.html#query-dsl-script-filter.


Masaru

On January 16, 2015 at 04:40:49, samatha kankipati 
(samatha.kankip...@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+unsubscr...@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+unsubscr...@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.

Reply via email to