[ 
https://jira.codehaus.org/browse/MINDEXER-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=313708#comment-313708
 ] 

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

Fixed in
http://svn.apache.org/viewvc?view=revision&revision=1410252

Curious, why not modify the org.apache.maven.index.DefaultNexusIndexer#scan 
too? There is really no need to use tmpContext in there anymore...
                
> Provide a way to scan directly to provided IndexingContext
> ----------------------------------------------------------
>
>                 Key: MINDEXER-65
>                 URL: https://jira.codehaus.org/browse/MINDEXER-65
>             Project: Maven Indexer
>          Issue Type: Improvement
>    Affects Versions: 5.0.0
>            Reporter: Igor Fedorenko
>            Assignee: Tamás Cservenák
>             Fix For: 5.1.0
>
>         Attachments: 
> 0001-MINDEXER-65-made-DefaultScannerListener-directly-usa.patch
>
>
> Currently, DefaultNexusIndexer#scan(...) always perform scan to a temporary 
> indexing context first, then replace the target context with temporary. I 
> vaguely remember this was necessary to allow index queries while scan was 
> running in a background thread. With recent rework of indexer locking, the 
> temporary indexing context is no longer needed and in fact it is harmful when 
> host application requires tight control over IndexingContext status.
> Maven indexer need to provide a way to request scan directly to the target 
> indexing context. 

--
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