I would suggest to sort on the basis of condition. First find all the
records and then sort on the basis of condition where you will be putting
spcific countries below other.

fq=country :c1 OR c2 OR c3&sort=if(termfreq (country,c2),1,0) desc


Here we are putting c2 below c1 and c3.

You can also try term search and boost specific terms.

Thanks and regards
Saurabh

On Sun 14 Apr, 2019, 1:49 PM Anuj Bhargava, <anujb...@gmail.com> wrote:

> I have a field *country*. I need to do a search in which I need to show the
> search result of a country or some countries, last in the search result for
> eg. country code *BD*. What query should I use to get the above result.
>
> fq=country:???&q=*%3A*
>

Reply via email to