Hi,

Just flatten it - create a single Person + Address entity (document) and index 
it.

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch




________________________________
From: Senthil Kumar <thanjaisent...@gmail.com>
To: solr-user@lucene.apache.org
Sent: Thursday, February 19, 2009 1:20:23 PM
Subject: Unified search of relational data on Solr?

Hi,

          How to index relational data in Solr which can not be merged as a
single file for some reasons?
          We have two kinds of XMLs indexed in Solr,
<Personal>
       <id>1_persona</id>
       <fname\>
       <age\>
       <sex\>
</Personal>

<Address>
       <Id>1_addr</id>
       <city>washington</city>
</Address>

      Our aim to get a list of persons living in Washington. Can anyone
suggest what is the best approach for this and to index relational data in
general?


Senthil Kumar P

Reply via email to