mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +01:00
bug fix regarding duplicate terms being added to the lucene query
Former-commit-id: beee4c78158abc0ffc1087d829ebd2ed747043b0
This commit is contained in:
@@ -261,7 +261,7 @@ public class CPEAnalyzer implements org.owasp.dependencycheck.analyzer.Analyzer
|
||||
if (searchString == null) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
TopDocs docs = cpe.search(searchString, MAX_QUERY_RESULTS);
|
||||
for (ScoreDoc d : docs.scoreDocs) {
|
||||
Document doc = cpe.getDocument(d.doc);
|
||||
|
||||
Reference in New Issue
Block a user