New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 753900 link

Starred by 10 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

cs.chromium.org results are missing several files

Project Member Reported by michae...@chromium.org, Aug 9 2017

Issue description

Files like src/base/memory/ptr_util.h and src/base/memory/shared_memory.h are missing from search results, even when searching by file name.

For example, the search:
    file:base/memory/ptr_util.h
returns nothing: https://cs.chromium.org/search/?q=file:base/memory/ptr_util.h&type=cs

> No results for your query (0.077 seconds)
 
> Your search - file:base/memory/ptr_util.h - did not match any documents. Either there are no matches or you don't have read permissions for your searched corpus.

Same for base/memory/ptr_util.cc, base/memory/shared_memory.h, base/memory/shared_memory.cc. I haven't checked other directories.

It's not just the "file" keyword -- direct quotes from those files don't turn up the files either. (Third-party copies are shown in the results though.)

Other searches work, e.g. file:base/memory/aligned_memory.cc opens that file.
 

Comment 1 by emso@chromium.org, Aug 9 2017

Owner: emso@chromium.org
Status: Assigned (was: Untriaged)
Thanks for the report! Sorry for this behavior. We've had issues with the crawler causing parts of the search index to not be served. We're in the process of recovering.

Comment 2 by emso@chromium.org, Aug 9 2017

 Issue 753906  has been merged into this issue.
Another fun one: Searching for WindowTreeHost returns 3 files. I guess we deleted aura ;-)

Comment 4 by emso@chromium.org, Aug 9 2017

Unfortunately, that could be the case. This is a known issue that has happened a couple of times over the last months. We get a faulty NOT FOUND for chromium/src from Git and this causes a delete and then it takes a while to recover.  We've discussed possible ways to better handle this on our end but haven't solve the problem yet. I don't think we can expect an improvement from the Git side.
There are plenty more examples of missing search results. Example https://cs.chromium.org/search/?q=clear_browsing_data_dialog.html&type=cs.

Comment 6 by emso@chromium.org, Aug 9 2017

Our current search index is missing a substantial part. We are maybe at 40% or so. Files will possibly show up in the index as they get changed. We need to run a batch crawl to rebuild the index.

Comment 7 by emso@chromium.org, Aug 9 2017

Cc: dpranke@chromium.org
 Issue 753939  has been merged into this issue.
Issue 754006 has been merged into this issue.
Issue 754018 has been merged into this issue.
We are currently working onto the issues and expecting that indices will be fully recovered by Aug 9, 20:00 in Pacific Time.
I've just discovered: if you're a Google, you can use a copy of the Chromium repo in the internal codesearch. At least one of them appears to have working indexing and cross-references: https://goto.google.com/chromium-headless-src
#11: Good idea, though that's a week or two behind. Clankium is more up-to-date: https://goto.google.com/clankium-src :-)
All the damages have been recovered.
Please feel free to leave a comment in this thread if you are still experiencing missing search results.
Status: Fixed (was: Assigned)

Comment 15 by emso@chromium.org, Aug 11 2017

 Issue 754056  has been merged into this issue.

Sign in to add a comment