How to access field data faster from native (java) script ??? should i 
enable 'doc values'?

I am already using doc().getField() and casting to long. It is date field 
type. But whenever, my argument to script changes, it has poor performance 
for search query. Subsequent call with same argument has good performance. 
(might be because _cache is true for that script filter.)

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/afd89e62-0773-4684-904d-53805d9d7358%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to