[ 
https://issues.apache.org/jira/browse/SOLR-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504675#comment-13504675
 ] 

Alexey Serba commented on SOLR-1920:
------------------------------------

bq. If Solr could be informed that field X is the tracking field, the highest 
value encountered during an import (according to that field's sort mechanism) 
could be stored in dataimport.properties and re-used during the next 
delta-import.
+1

So you don't have to sort your documents by the autoincrement field or run 
another special query, but instead just keep the highest value for this field 
(should it support decrementing strategy? not sure).
                
> Need generic placemarker for DIH delta-import
> ---------------------------------------------
>
>                 Key: SOLR-1920
>                 URL: https://issues.apache.org/jira/browse/SOLR-1920
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>            Reporter: Shawn Heisey
>            Priority: Minor
>             Fix For: 4.1
>
>
> The dataimporthandler currently is only capable of saving the index timestamp 
> for later use in delta-import commands.  It should be extended to allow any 
> arbitrary data to be used as a placemarker for the next import.
> It is possible to use externally supplied variables in data-config.xml and 
> send values in via the URL that starts the import, but if the config can 
> support it natively, that is better.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to