Solr - always sort specific subset to last of collection

25 views Asked by At

I'm pretty new to solr. How can I make a subset of records always appear in the last position? For example: I have product records such as: (product_id)

ABC001, ABC002 , ABC003, ....  

Each has its own attributes (two different tables): (product_id, attribute_id)

ABC001 (A1, A3, A5), ABC002 (A2, A4, A5), ...

I want all products that contain A5 always to appear last when sorting the result. Is there any way I can achieve this? I'm using Solr 4.10.2.

Thanks a lot for your help.

0

There are 0 answers