xuzheng created SOLR-4054:
-----------------------------
Summary: delta import of solr4.0 put median data(id of db changed
data) to transformer
Key: SOLR-4054
URL: https://issues.apache.org/jira/browse/SOLR-4054
Project: Solr
Issue Type: Bug
Components: contrib - DataImportHandler
Affects Versions: 4.0
Environment: suse server linux 11 + resin4
Reporter: xuzheng
following is my config, when i use delta import in my project, in my resin
java log,
i saw the median data created by deltaQuery was also sent to
SuggestionTransformer before the data created by deltaImportQuery, what i want
is only data dumped by deltaImportQuery can be sent to my transformer, anybody
can explain this or tell me what is the mistake i have made?
<entity name="videosearch"
pk="Id"
query="select * from Video"
deltaImportQuery="select * from Video where
Id='${dataimporter.delta.Id}'"
deltaQuery="select Id from Video where 'UpdateTime' >
'${dataimporter.last_index_time}'"
transformer="com.microrapid.videosearch.dataimport.SuggestionTransformer,com.microrapid.videosearch.dataimport.PrimaryScoreTransformer">
<field column="PrimaryScore" config="ranking.xml" ranking="true"/>
</entity>
--
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]