Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 88a3060

Browse files
committed
Fix to pass test
1 parent 313509a commit 88a3060

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/searchcode/app/service/IndexService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,10 @@ public Document buildDocument(CodeIndexDocument codeIndexDocument) {
293293
}
294294
if (this.indexAllFields.contains("interesting")) {
295295
indexBuilder.append(this.searchcodeLib.findInterestingKeywords(codeIndexDocument.getContents())).append(" ");
296-
indexBuilder.append(this.searchcodeLib.findInterestingCharacters(codeIndexDocument.getContents())).append(" ");
296+
indexBuilder.append(this.searchcodeLib.findInterestingCharacters(codeIndexDocument.getContents()));
297297
}
298298

299-
String indexContents = this.searchcodeLib.codeCleanPipeline(indexBuilder.toString());
299+
String indexContents = indexBuilder.toString();
300300

301301
document.add(new TextField(Values.REPONAME, codeIndexDocument.getRepoName().replace(" ", "_"), Field.Store.YES));
302302
document.add(new TextField(Values.REPO_NAME_LITERAL, this.helpers.replaceForIndex(codeIndexDocument.getRepoName()).toLowerCase(), Field.Store.NO));

0 commit comments

Comments
 (0)