First of all here are the something that might help others to understand
your problem.

   - what is your current logic
   - what you are trying to achieve?
   - what problem you are facing in achieving the results?
   - mail's subject

I am not familiar that we can do sort by query of the results returned by
the join of two collections, so no comments for that, but if we can others
can share with us.

I guess you might be using the result returned from in your code, so you
can sort it manually on category name if it doesn't take extra costly
 efforts.


With Regards
Aman Tandon


On Thu, Apr 24, 2014 at 11:16 PM, hungctk33 <nokiatwo9...@gmail.com> wrote:

> Thanks Kranti Parisa !
>
> I have 2 core :
>
> products(id, product_name, category_id );
> categories(category_id, category_name);
>
> query similar SQL:
> SELECT p.* from Products AS p
> Inner join Categories AS c
> ON p.category_id = c.category_id
> Order by c.category_name asc;
>
>
> Purpose sorting by category_name, but join solr not support to use sort.
> If custom solr, how do it ?
>
> Thank a lot of !
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Join-solr-tp4132615p4132933.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to