lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xuzheng (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4054) delta import of solr4.0 put median data(id of db changed data) to transformer
Date Fri, 09 Nov 2012 01:16:12 GMT

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

xuzheng updated SOLR-4054:
--------------------------

    Description: 
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="videosearch.dataimport.SuggestionTransformer">
            <field column="PrimaryScore" config="ranking.xml" ranking="true"/>     
      
    </entity>

  was:
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">
            <field column="PrimaryScore" config="ranking.xml" ranking="true"/>     
      
    </entity>

    
> 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="videosearch.dataimport.SuggestionTransformer">
>             <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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message