google / google/codesearch

cindex is silently ignoring some text files and there's no way to tell why

Open
#80 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4k
Forks
403
PR merge metrics
No merged PRs in 30d

Description

I have a couple of text files (UTF-8, with mostly ASCII and Cyrillic characters) which cindex/csearch ignore.

The worst problem is that I cannot tell why cindex ignores them, there is no "verbose" option to cindex. Maybe there is a character somewhere in the file cindex does not like but how do I tell?

`iconv -f utf-8 -t utf-16 < text/book1.txt > /dev/null` never complains so I presume the book1.txt file is valid UTF-8. But cindex excludes it from search.

codesearch version:
codesearch/oldstable,now 0.0~hg20120502-3+b11 amd64 on Debian 10.

The problem may be related to https://github.com/google/codesearch/issues/26

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.