You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2008/12/13 18:49:44 UTC

[jira] Resolved: (SOLR-895) DataImportHandler does not import multiple documents specified in db-data-config.xml

     [ https://issues.apache.org/jira/browse/SOLR-895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar resolved SOLR-895.
----------------------------------------

    Resolution: Won't Fix

Marking this as won't fix per the discussions.

> DataImportHandler does not import multiple documents specified in db-data-config.xml
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-895
>                 URL: https://issues.apache.org/jira/browse/SOLR-895
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3, 1.3.1, 1.4
>            Reporter: Cameron Pope
>         Attachments: import-multiple-documents.patch
>
>
> In our system we have multiple kinds of items that need to be indexed. In the database, they are represented as 'one table per concrete class'. We are using the DataImportHandler to automatically create an index from our database. The db-data-config.xml file that we are using contains two 'Document' elements: one for each class of item that we are indexing.
> Expected behavior: the DataImportHandler imports items for each 'Document' tag defined in the configuration file
> Actual behavior: the DataImportHandler stops importing it completes indexing of the first document
> I am attaching a patch, with a unit test that verifies the correct behavior, it should apply against the trunk without problems. I can also supply a patch against the 1.3 branch if you would like.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.