Skip to content

Commit

Permalink
remove unwanted comment
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-lolong committed Nov 26, 2024
1 parent 224efcd commit fd771c5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/org/vufind/solr/indexing/SolrFieldIterator.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ private boolean termExists(String t)
q = new TermQuery (new Term (this.field, t));
}

// return (this.searcher.search(new ConstantScoreQuery(new TermQuery(new Term(this.field, t))),
// 1).totalHits.value > 0);
return (this.searcher.search(new ConstantScoreQuery(q),
1).totalHits.value > 0);
} catch (IOException e) {
Expand Down

0 comments on commit fd771c5

Please sign in to comment.