[ https://jira.codehaus.org/browse/MINDEXER-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=313738#comment-313738 ]
Igor Fedorenko commented on MINDEXER-65: ---------------------------------------- I am not sure DefaultNexusIndexer#scan is useful at all. I would just deprecated it and suggest direct use of scanner instead. > 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