AnsweredAssumed Answered

How to query two types in lucene

Question asked by nikhilesh_s1vakot1 on Jun 10, 2013
Latest reply on Jun 10, 2013 by nikes
Hello Team,

I was wondering how to query on two types in Apache lucene. I am trying to get the my custom type objects in a single query where the query should contain all the persons id which is again a lucene query formed by type persons. Now i want to club these two queries so that i can get two properties from persons (firstname, lastname) and my custom type properties from the my custom type.
Is there any way to get this type of solution in lucene. This is more like Joins Concept in RDBMS.

Please help if any one have an idea on this.

Thanks,
Nikhilesh

Outcomes