I am trying to sort using a script sort.
My script would look like: _score * doc['someField'].value
When I submit the query I am getting: unresolvable property or identifier:
_score
Is it not possible to use the score in a script sort?
I am trying to sort using a script sort.
My script would look like: _score * doc['someField'].value
When I submit the query I am getting: unresolvable property or identifier:
_score
Is it not possible to use the score in a script sort?
I want to use the score for some other purpose. (retrieve the number of
children with a has_child query)
Hence I can't modify it's calculation in script score.
On Monday, July 28, 2014 7:53:01 PM UTC-7, vineeth mohan wrote:
On Tue, Jul 29, 2014 at 7:53 AM, Maxime Nay <maxi...@gmail.com
<javascript:>> wrote:
Hi,
I am trying to sort using a script sort.
My script would look like: _score * doc['someField'].value
When I submit the query I am getting: unresolvable property or
identifier: _score
Is it not possible to use the score in a script sort?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.