I am using Custom Score query in my project.
It needs mainly 2 things: Query and Script.
For normal queries it works fine.
But if I put a nested query like bool query, then it puts script in
Is there a mistake in the api or am I not writing it correctly?
My code is at git://gist.github.com/1096535.git.
(The script is not at the query position.)
Can anybody please help me on this?