MINDEXER-71 Do not implicitly close indexing context

Indexing context #rollback, #commit and #optimize operations
were implicitely closing indexing context in case of
IOException and CorruptIndexException. This behaviour is
counter-intuitive. It is also harmful when triggered
from within acquireIndexSearcher-finally-releaseIndexSearcher
block, in which case releaseIndexSearcher fails with NPE,
which in turn masks original exception and makes 
troubleshooting of the problem much harder than it should be.



git-svn-id: https://svn.apache.org/repos/asf/maven/indexer/trunk@1451310 13f79535-47bb-0310-9956-ffa450edef68
1 file changed
tree: 241fe1b4b749d831c75bfb03b37d4de4c08b764a
  1. indexer-artifact/
  2. indexer-cli/
  3. indexer-core/
  4. src/
  5. .gitignore
  6. deploySite.sh
  7. NOTICE
  8. pom.xml
  9. README.md
  10. README.TXT
README.md

Apache Maven Indexer

http://maven.apache.org/maven-indexer/

(Formerly Sonatype Nexus Indexer)

SVN (the canonical repository): http://svn.apache.org/repos/asf/maven/indexer/

JIRA: http://jira.codehaus.org/browse/MINDEXER

Note: Migrated from “Search / Index” component of Nexus project: https://issues.sonatype.org/browse/NEXUS

Mailing lists: Developers: dev@maven.apache.org Users: users@maven.apache.org (more at http://maven.apache.org/mail-lists.html)

CI: https://builds.apache.org/job/maven-indexer/