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

Hoss Man resolved SOLR-2916.
----------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: 1.4.1)

Matt: As noted in SOLR-2915 and on the mailing list, i think you have a 
misunderstanding of how the UpdateRequestProcessor APIs work ... the  
RunUpdateProcessor.processCommit method is what is responsible for executing 
the underlying commit on the index -- it is not a callback method notified 
if/when a commit happens.  If you are looking for a callback method, please see 
the event listener API...

https://builds.apache.org/job/Solr-trunk/javadoc/org/apache/solr/core/SolrEventListener.html

furthermore, i'm not sure i understand what you mean by "when Lucene is 
intermittently committing documents during the process" --- The underlying 
Lucene IndexWriter does not intermittently commit anything ... perhaps you are 
asking about segment merging? or Solr's autoCommit?

Please follow up by starting a thread on the solr-user mailing list with more 
information about what exactly it is you are trying to achieve, and what 
behavior you are seeing -- because from what i can tell there doesn't seem to 
be a bug here.
                
> UpdateRequestProcessor.processCommit not Called as Lucene Commits Documents 
> to the Index
> ----------------------------------------------------------------------------------------
>
>                 Key: SOLR-2916
>                 URL: https://issues.apache.org/jira/browse/SOLR-2916
>             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
>
> While running the DIH import handler for a document store of any size, 
> UpdateRequestProcessor.processCommit is not being called when Lucene is 
> intermittently committing documents during the process. The method seems to 
> be called one time at the end of the import process.

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to