Binh,

I'm not able to access po field. It's giving me error:

Caused by: [Error: could not access: value; in class:
org.elasticsearch.index.fielddata.ScriptDocValues$Empty]
[Near : {... doc['po'].value ....}]

I think that is the reason why my score is always same. Everytime, it is
taking it as empty though all my docs contains this field. I have also
added it in my mapping. Can you please tell me why it is behaving like this
?


On Wed, Jan 29, 2014 at 10:34 PM, Binh Ly <[email protected]> wrote:

> Just to clarify, can you post the scores of the 2 documents in question:
>
> 1) script = "_score"
>
> 2) script = "doc['po'].value"
>
> Just curious to see the actual values.
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/8df89eed-7b61-4227-a601-21a81e46b20a%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAAVTvp4VyCD8_QHRjyCFOBxSxoVPVHt_%2BcJxOcmOQ%3DhBmSuy%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to