You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Eric Katherman <er...@knackhq.com> on 2014/10/03 07:30:28 UTC
Sorting & Joins
Is it possible to join documents and use a field from the "from"
documents to sort the results? For example, I need to search
"employees" and sort on different fields of the "company" each employee
is joined to. What would that query look like? We've looked at various
resources but haven't found any concise examples that work.
Thanks,
Eric
Re: Sorting & Joins
Posted by Mikhail Khludnev <mk...@griddynamics.com>.
Hello,
Did you look into https://issues.apache.org/jira/browse/SOLR-6234 ?
On Fri, Oct 3, 2014 at 9:30 AM, Eric Katherman <er...@knackhq.com> wrote:
> Is it possible to join documents and use a field from the "from" documents
> to sort the results? For example, I need to search "employees" and sort on
> different fields of the "company" each employee is joined to. What would
> that query look like? We've looked at various resources but haven't found
> any concise examples that work.
>
> Thanks,
> Eric
>
--
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics
<http://www.griddynamics.com>
<mk...@griddynamics.com>