Skip to content

Commit

Permalink
Compatibility: Solr v7.7.3 & Lucene v7.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
azagniotov committed Sep 15, 2023
1 parent c943644 commit c2634f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ solrLuceneAnalyzerSudachiProjectGroup=io.github.azagniotov
solrLuceneAnalyzerSudachiProjectVersion=1.0.0-SNAPSHOT

sudachiVersion=0.7.3
solrVersion=7.0.0
solrVersion=7.7.3
log4j2Version=2.17.1
slf4jVersion=1.7.36

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public void queryIndex() throws Exception {
final int totalHits = totalHitCountCollector.getTotalHits();
assertEquals(2, totalHits);

final TopFieldCollector documentCollector = TopFieldCollector.create(Sort.RELEVANCE, 10, true, false, false);
final TopFieldCollector documentCollector =
TopFieldCollector.create(Sort.RELEVANCE, 10, true, false, false, false);
indexSearcher.search(query, documentCollector);

final ScoreDoc[] scoreDocs = documentCollector.topDocs().scoreDocs;
Expand Down

0 comments on commit c2634f2

Please sign in to comment.