Tamás Cservenák created MINDEXER-68:
---------------------------------------

             Summary: Align context behaviour in case of replace and merge 
methods
                 Key: MINDEXER-68
                 URL: https://jira.codehaus.org/browse/MINDEXER-68
             Project: Maven Indexer
          Issue Type: Bug
    Affects Versions: 5.0.0
            Reporter: Tamás Cservenák


Problem is in lack of {{rebuildGroups()}} call in the IndexingContext#replace 
method, while the IndexingContext#merge method invokes the method.

The invocation in both cases are justified, even if it seems redundant, as in 
both cases after the operation index is modified and various other aspects of 
it are changed (timestamp, descriptor etc).

The call is redundant in case of "full remote update" case, since the transport 
format does contain these two fields (that are rebuilt by this method).

Still, the fix allows easier Lucene index preparation outside MI and handing it 
over to MI for consumption.

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


Reply via email to