MINDEXER-69 reuse rewritten query for all artifacts

Invoking Query#rewrite(IndexReader) for each
ArtifactInfo/MatchHighlightRequest is redundant and results in
significant unnecessary cpu and/or io utilization.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Signed-off-by: Tamás Cservenák <cstamas@apache.org>

git-svn-id: https://svn.apache.org/repos/asf/maven/indexer/trunk@1411588 13f79535-47bb-0310-9956-ffa450edef68
1 file changed
tree: b236fa67a1691794fdce8156c61270504912b6b2
  1. indexer-artifact/
  2. indexer-cli/
  3. indexer-core/
  4. src/
  5. .gitignore
  6. NOTICE
  7. pom.xml
  8. README.md
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/hudson/job/maven-indexer/