[ https://issues.apache.org/jira/browse/MINDEXER-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965281#comment-17965281 ]
Olivier Lamy commented on MINDEXER-65: -------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-indexer#505|https://github.com/apache/maven-indexer/issues/505]. > Provide a way to scan directly to provided IndexingContext > ---------------------------------------------------------- > > Key: MINDEXER-65 > URL: https://issues.apache.org/jira/browse/MINDEXER-65 > Project: Maven Indexer (Moved to GitHub Issues) > Issue Type: Improvement > Affects Versions: 5.0.0 > Reporter: Igor Fedorenko > Assignee: Tamas Cservenak > Priority: Major > 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 was sent by Atlassian Jira (v8.20.10#820010)