Re: how can i index data in different documents

2011-05-31 Thread Erick Erickson
isn't a tag recognized in schema.xml. Please review: http://wiki.apache.org/solr/UsingMailingLists Best Erick On Thu, May 26, 2011 at 6:46 AM, Romi wrote: > > Ensure that when you add your documents, their "type" value is > effectively set to either "table1" or table"2". > > did you mean i set

Re: how can i index data in different documents

2011-05-26 Thread Romi
Ensure that when you add your documents, their "type" value is effectively set to either "table1" or table"2". did you mean i set in schema.xml??? but as far as i concern there can only be one document tag then what about the table2?? - Romi -- View this message in context: http://lucene

Re: how can i index data in different documents

2011-05-26 Thread Tanguy Moal
Hi Romi, A simple way to do so is to define in your schema.xml the union of all the columns you need plus a "type" field to distinguish your entities. eg, In your DB table1 : - col1 : varchar - col2 : int - col3 : float table2 : - col1 : int - col2 : varchar - col3 : int - col4 : varchar in