Is it possible to sort equally-scored results by the length of the field?
Or am I doing something else incorrectly?
With an edge_ngram filter on a keyword field, with search term S, I see
SUPER comes before S in my results.
As a last resort, I could add a field to reflect the length of the keyword
field, or even turn on dynamic scripting, but I imagine i am missing
something vital....
Is it possible to sort equally-scored results by the length of the field?
Or am I doing something else incorrectly?
With an edge_ngram filter on a keyword field, with search term S, I see
SUPER comes before S in my results.
As a last resort, I could add a field to reflect the length of the keyword
field, or even turn on dynamic scripting, but I imagine i am missing
something vital....
On Thu, Oct 2, 2014 at 4:33 AM, Lee Gee <lee...@gmail.com <javascript:>>
wrote:
Is it possible to sort equally-scored results by the length of the field?
Or am I doing something else incorrectly?
With an edge_ngram filter on a keyword field, with search term S, I see
SUPER comes before S in my results.
As a last resort, I could add a field to reflect the length of the
keyword field, or even turn on dynamic scripting, but I imagine i am
missing something vital....
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.