i finding difficult sort solr results on basis of field value.
let's suppose have 10 search results query string 'test'.
each result returns detail values includes pid containing integer values.
i want results pid=3, pid=4 , pid=10 should sorted in user defined order such (10, 3, 4), means that:
- result
pid=10 - result
pid=3 - result
pid=4
this order neither asc nor desc. user defined order.
look this custom sort in solr. happy coding
Comments
Post a Comment