banderon1
(banderon1)
October 12, 2012, 3:48pm
1
In my index, I have some numeric id values in an array. Is it possible to
sort (or boost) docs that have more items in this array?
For example, a doc that has 10 values in the array would be at the top of
the list, while a doc with an empty array would be at the bottom.
--
simonw_2
(simonw-2)
October 12, 2012, 6:37pm
2
why don't you index the array size into a different field and sort on that?
On Friday, October 12, 2012 5:48:25 PM UTC+2, banderon1 wrote:
In my index, I have some numeric id values in an array. Is it possible to
sort (or boost) docs that have more items in this array?
For example, a doc that has 10 values in the array would be at the top of
the list, while a doc with an empty array would be at the bottom.
--