On Sat, Mar 27, 2010 at 3:25 AM, Blargy <zman...@hotmail.com> wrote:
>
> I have a items table on db1 and and item_descriptions table on db2.
>
> The items table is very small in the sense that it has small columns while
> the item_descriptions table has a very large text field column. Both tables
> are around 7 million rows
>
> What is the best way to import these into one document?
>
> <document>
>  <entity name="item" ... >
>     <entity name="item_descriptions" ... ></entity>
>   </entity>
> </document>
>
this is the right way
> Or
>
> <document>
>     <entity name="item_descriptions" rootEntity="false" >
>     <entity name="item" ... ></entity>
>   </entity>
> </document>
>
> Or is there an alternative way? Maybe using the second way with a
> CachedSqlEntityProcessor for the item entity?
I don't think CachedSqlEntityProcessor helps here.
>
> Any thoughts are greatly appreciated. Thanks!
> --
> View this message in context: 
> http://n3.nabble.com/DIH-best-pratices-question-tp677568p677568.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
-----------------------------------------------------
Noble Paul | Systems Architect| AOL | http://aol.com

Reply via email to