jira-importer commented on issue #457: URL: https://github.com/apache/maven-indexer/issues/457#issuecomment-2965142771
**[Jesse N. Glick](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jglick)** commented Hah, coding by Google works again: ``` Index: indexer-core/src/main/java/org/apache/maven/index/context/DefaultIndexingContext.java =================================================================== --- indexer-core/src/main/java/org/apache/maven/index/context/DefaultIndexingContext.java (revision 1230088) +++ indexer-core/src/main/java/org/apache/maven/index/context/DefaultIndexingContext.java (working copy) @@ -500,6 +500,8 @@ indexWriter.setMergeScheduler( new SerialMergeScheduler() ); + indexWriter.commit(); // LUCENE-2386 + openAndWarmupReaders(); } ``` Also need: ``` Index: indexer-core/src/main/java/org/apache/maven/index/context/NexusLegacyAnalyzer.java =================================================================== --- indexer-core/src/main/java/org/apache/maven/index/context/NexusLegacyAnalyzer.java (revision 1230088) +++ indexer-core/src/main/java/org/apache/maven/index/context/NexusLegacyAnalyzer.java (working copy) @@ -36,7 +36,7 @@ * * @author Jason van Zyl */ -public class NexusLegacyAnalyzer +public final class NexusLegacyAnalyzer extends Analyzer { private static Analyzer DEFAULT_ANALYZER = new StandardAnalyzer( Version.LUCENE_30 ); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
