You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamás Cservenák (JIRA)" <ji...@codehaus.org> on 2012/11/16 10:31:13 UTC

[jira] (MINDEXER-68) Align context behaviour in case of replace and merge methods

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

       

[jira] (MINDEXER-68) Align context behaviour in case of replace and merge methods

Posted by "Tamás Cservenák (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MINDEXER-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Assignee: Tamás Cservenák
    
> 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
>            Assignee: Tamás Cservenák
>             Fix For: 5.1.0
>
>
> 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

       

[jira] (MINDEXER-68) Align context behaviour in case of replace and merge methods

Posted by "Tamás Cservenák (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MINDEXER-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=313716#comment-313716 ] 

Tamás Cservenák commented on MINDEXER-68:
-----------------------------------------

Fixed in
http://svn.apache.org/viewvc?view=revision&revision=1410266
                
> 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
>             Fix For: 5.1.0
>
>
> 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

       

[jira] (MINDEXER-68) Align context behaviour in case of replace and merge methods

Posted by "Tamás Cservenák (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MINDEXER-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tamás Cservenák closed MINDEXER-68.
-----------------------------------

    Resolution: Fixed
    
> 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
>             Fix For: 5.1.0
>
>
> 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

       

[jira] (MINDEXER-68) Align context behaviour in case of replace and merge methods

Posted by "Tamás Cservenák (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MINDEXER-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s: 5.1.0
    
> 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
>             Fix For: 5.1.0
>
>
> 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