: How can I don't overwrite other entities?
: Please assist me on this example.

I'm confused, you sent this in direct reply to my last message, which 
contained the following...

1) a paragraph describing the general approach to solving this type of 
problem...

>> You can use TemplateTransformer to create a synthetic ID for each 
>> entity using some constant value combined with the auto-increment 
>> value from your DB, for example...

2) a link to an article i wrote a while back dicussing how to solve the 
exact problem you are having...

http://searchhub.org/2011/02/12/solr-powered-isfdb-part-4/

3) links to specific commits in a github repo where there is a working 
example of using DIH to index multiple types of documents from differnet 
tables in a single Solr index.  The commits i linked to show *exactly* 
which changes are needed to go from indexing a single entity to indexing 
two entities w/o conflicting ids...

https://github.com/lucidimagination/isfdb-solr/commit/85d7caf19746399755f6f1c39f48a654da3c5b11
https://github.com/lucidimagination/isfdb-solr/commit/26e945747404125ce5b835e2157c6e2612ff2387


...did you look at any of this? did you try it? do you have any pecific 
quesions baout this approach?



-Hoss

Reply via email to