An alternative would be a custom SearchComponent that post-processes hits.
Otis
Solr & ElasticSearch Support
http://sematext.com/
On Apr 30, 2013 10:27 AM, "Sandeep Mestry" wrote:
> Thanks Erick,
>
> I tried grouping and it appears to work okay. However, I will need to
> change the client to par
Thanks Erick,
I tried grouping and it appears to work okay. However, I will need to
change the client to parse the output..
&fq=title:(tree)&group=true&group.query=title:(trees) NOT
title_ci:trees&group.query=title_ci:blair&group.sort=title_sort
desc&sort=score desc,title_sort asc
I used the act
I don't think you can do that. You're essentially
trying to mix ordering of the result set. You
_might_ be able to kludge some of this with
grouping, but I doubt it.
You'll need two queries I'd guess.
Best
Erick
On Mon, Apr 29, 2013 at 9:44 AM, Sandeep Mestry wrote:
> Dear Experts,
>
> I have a
Dear Experts,
I have a requirement for the exact matches and applying alphabetical
sorting thereafter.
To illustrate, the results should be sorted in exact matches and all later
alphabetical.
So, if there are 5 documents as below
Doc1
title: trees
Doc 2
title: plum trees
Doc 3
title: Money Tr