I have two lucene indices. Suppose a document in the first Index contents fields like:
name:....., filename: ......, fullpath: ........, etc.
and the second Index contents fields like:
name: ....., deviceip: ......, etc.
Now what I need to do is: Search the first index with some query and then join the result with the documents in second index based upon common field (e.g. "name" in this case). The join should result such that the result contains fields from the second index as well.
Result:
name: ....., filename: ...., fullpath: ......., deviceip: ....., etc.
Is it possible to achieve with Lucene?