lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Parker (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2914) UpdateRequestProcessor.proccessCommit Method not Called When Running DIH in Debug Mode
Date Fri, 25 Nov 2011 02:16:40 GMT

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

Matt Parker commented on SOLR-2914:
-----------------------------------

But if you run the DIH again by pressing the "Full Import" button, the processCommit method
is called.

*Console Output*

Nov 24, 2011 9:13:40 PM org.apache.solr.core.SolrDeletionPolicy onInit
INFO: SolrDeletionPolicy.onInit: commits:num=1
        commit{dir=C:\Projects\apache-solr-1.4.1\example\solr\data\index,segFN=segments_h,version=1322170573145,generation=17,filenames=[_l.fnm,
_m.frq, _m.prx, _l.frq, _o.tis, _n.tis, _o.prx, _m.tis, _l.tis, _n.frq, _n.tii,
 _m.tii, _l.tii, _m.fnm, _o.frq, _n.fnm, _o.fdt, _l.nrm, _n.nrm, _o.fnm, _o.fdx, _l.prx, _n.prx,
_n.fdt, _n.fdx, _m.nrm, segments_h, _o.nrm, _m.fdt, _l.fdx, _o.tii, _m.fdx, _l.fdt]
Nov 24, 2011 9:13:40 PM org.apache.solr.core.SolrDeletionPolicy updateCommits
INFO: newest commit = 1322170573145
Nov 24, 2011 9:13:40 PM org.apache.solr.handler.dataimport.LogTransformer transformRow
INFO:       Processing C:\Projects\solr-test-cases\SOLR-2914\solr\sample-data\article2.txt
Nov 24, 2011 9:13:40 PM org.apache.solr.handler.dataimport.UpdateRequestProcessorTest processAdd
INFO: processAdd called...
Nov 24, 2011 9:13:40 PM org.apache.solr.handler.dataimport.LogTransformer transformRow
INFO:       Processing C:\Projects\solr-test-cases\SOLR-2914\solr\sample-data\article3.txt
Nov 24, 2011 9:13:40 PM org.apache.solr.handler.dataimport.UpdateRequestProcessorTest processAdd
INFO: processAdd called...
Nov 24, 2011 9:13:40 PM org.apache.solr.handler.dataimport.LogTransformer transformRow
INFO:       Processing C:\Projects\solr-test-cases\SOLR-2914\solr\sample-data\article4.txt
Nov 24, 2011 9:13:40 PM org.apache.solr.handler.dataimport.UpdateRequestProcessorTest processAdd
INFO: processAdd called...
Nov 24, 2011 9:13:40 PM org.apache.solr.handler.dataimport.LogTransformer transformRow
INFO:       Processing C:\Projects\solr-test-cases\SOLR-2914\solr\sample-data\article5.txt
Nov 24, 2011 9:13:40 PM org.apache.solr.handler.dataimport.UpdateRequestProcessorTest processAdd
INFO: processAdd called...
Nov 24, 2011 9:13:40 PM org.apache.solr.handler.dataimport.DocBuilder finish
INFO: Import completed successfully
Nov 24, 2011 9:13:40 PM org.apache.solr.handler.dataimport.UpdateRequestProcessorTest *processCommit*
INFO: processCommit called...
Nov 24, 2011 9:13:40 PM org.apache.solr.update.DirectUpdateHandler2 commit
INFO: start commit(optimize=true,waitFlush=false,waitSearcher=true,expungeDeletes=false)
                
> UpdateRequestProcessor.proccessCommit Method not Called When Running DIH in Debug Mode
> --------------------------------------------------------------------------------------
>
>                 Key: SOLR-2914
>                 URL: https://issues.apache.org/jira/browse/SOLR-2914
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4.1
>         Environment: SOLR 1.4.1, JDK 1.6.0_23
>            Reporter: Matt Parker
>            Priority: Minor
>
> Users can test their DIH import configuration files using the dataimport.jsp Admin page.
If you check the commit box, and then run the DIH in debug mode, Lucene will commit the records
to the index, but the UpdateRequestProcess.processCommit methods are not called. If you run
the same DIH as a full import, the DIH will commit the documents, and the processCommit methods
are called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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