Is it possible in elastic search to sort the search results by the distinct
keyword I search for;
So if I searched for "boat","House" and "cat"
i want the results ordered by the records which first contain all 3
keywords, then those which contain 2 keywords then those which contain a
single keyword.
In other words i would like on the number of occurrence in the SHOULD
clause of the query.
On Wednesday, 13 February 2013 16:24:25 UTC+1, Shawn Ritchie wrote:
Is it possible in Elasticsearch to sort the search results by the
distinct keyword I search for;
So if I searched for "boat","House" and "cat"
i want the results ordered by the records which first contain all 3
keywords, then those which contain 2 keywords then those which contain a
single keyword.
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.