Hi,

I'm using following custom score script parameter for customizing the 
scoring of my documents.

String script = "doc['po'].value";

But it gives me error that:

[Error: could not access: value; in class: 
org.elasticsearch.index.fielddata.ScriptDocValues$Empty

My al documents contain this field but why Elasticsearch is not able to 
access the value of this field ?

Any idea ?

I have also included that field in my mapping.
               "po": {
                      "type": "double",
                      "boost": 4.0
                  }

We can use boost for such a field right ?

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/972b4f45-1512-4932-9bcb-6fc5cce30fb2%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to