So I thought, OK I'll remove query from custom_filters_score but when I do
that I get this error:
nested: QueryParsingException[[spna] [custom_filters_score] requires
'query' field];
I'm not really sue what to do here. I'm guessing it's a formatting error in
my curl statement. But these error messages are kind of contradicting each
other.
OK I think I found my syntax error. I've passed in a query_string into
query. But now the issue is with the script. I'm getting an error:
"error" : "CompileException[[Error: No field found for
[org.elasticsearch.index.fielddata.ScriptDocValues$Longs@359abca] in
mapping with types [post]]\n[Near : {... *pow(10,-11)) * abs(now -
doc[post_date].date.getM ....}]\n ^\n[Line:
1, Column: 35]]; nested: ElasticSearchIllegalArgumentException[No field
found for [org.elasticsearch.index.fielddata.ScriptDocValues$Longs@359abca]
in mapping with types [post]]; ",
So I thought, OK I'll remove query from custom_filters_score but when I do
that I get this error:
nested: QueryParsingException[[spna] [custom_filters_score] requires
'query' field];
I'm not really sue what to do here. I'm guessing it's a formatting error
in my curl statement. But these error messages are kind
of contradicting each other.
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.