You can also go further and ask:
Give me all the people that drive a toyota (company->car->people):
*q=*:*&fq=*:* AND _query_:"{!join to=id from=ownerId}id:* AND
_query_:{!join to=companyId from=id}name:toyo*"*
If we divide this query in fragments we got:
- *q=*:** which is restriction ove
For example, a dummy schema (if we index the former data in separate
documents) should look like this:
...
...
You can check these links:
http://wiki.apache.org/solr/Join
http://stackoverflow.com/questions/12665797/is-solr-4-0-capable-of-using-join-for-multiple-core
Regards.
On Wed, Nov 6, 2013 at 1:00 AM, Tech Id wrote:
> Hi Alvaro,
>
> Could you please point me to some link from where I can see ho
Hi Alvaro,
Could you please point me to some link from where I can see how to index
two documents separately (joined by foreign keys).
Or if you can oblige by putting down some details here itself.
*For example*, say if user has entities like :
car {id:5, color:red, year:2004, companyId:23, ow
In my case, everytime I've used joins, the FROM field was a multivalued
string and the TO was an univalued string.
Regards.
El 05/11/2013 18:37, "Tech Id" escribió:
> I think Solr has the ability to do joins in the latest version as verified
> on this issue: https://issues.apache.org/jira/browse
I think Solr has the ability to do joins in the latest version as verified
on this issue: https://issues.apache.org/jira/browse/SOLR-3076
And some online resources point to this example:
http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html
However, I am not sure if the abo
Hi,
I have been searching for an example of joins using solr/lucene.
But I have not found anything either on the net or in the src/examples.
Can someone please point me to the same?
Ideally, I need a join working with Solrj APIs (Please let me know if this
group is Lucene-specific).
Best Regard