[
https://issues.apache.org/jira/browse/SOLR-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14343158#comment-14343158
]
Klaus Bayrhammer commented on SOLR-1708:
----------------------------------------
We have multiple projects, which have quite similar requirements like those
[~slachinger] pointed out. Does the latest version of solr support a way of
handling these kind of root-pk-updates without maintaining duplicate versions
of import queries?
> Allowing import / update of a specific document using the data import handler
> -----------------------------------------------------------------------------
>
> Key: SOLR-1708
> URL: https://issues.apache.org/jira/browse/SOLR-1708
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Affects Versions: 1.4
> Reporter: Simon Lachinger
> Attachments: 02-single-update.patch, 02-single-update.patch
>
>
> There is the need that changes or new documents need to be added immediately
> to the Solr Index. This could easily done via the update-handler - however,
> when using the DataImportHandler it shouldn't be necessary to specify the
> data extraction for the the DataImportHandler and also for feeding it to into
> the update-handler. It should be centralized.
> Having to run delta query, identifying the changes, for changes where the
> ID's of the updated documents are already known to the application is a
> rather costly (in terms of database load) way to solve this.
> The attached patch allows to specify one or more query parameters for the
> delta-import command, named 'root-pk', which allow to specify the document(s)
> to be updated or added.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]