Home GnuPG

Add repositories to fulltext search index.
9e2f263bb49cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add repositories to fulltext search index.

Summary:
This implements a simplistic PhabricatorRepositoryFulltextEngine
Currently only the repository name, description, timestamps and
status are indexed.

Note: I had to change the search index workflow to disambiguate
PhabricatorRepository from PhabricatorRepositoryCommit

Test Plan:

  • ran ./bin/search index --type PhabricatorRepository --force
    • searched for some repositories. Saw reasonable results matching on either title or description.
  • Edited a repository in the web ui
    • Added unique key words to the repo description.
    • I was then able to find that repo by searching for the new keywords.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin

Tags: #search, #diffusion

Differential Revision: https://secure.phabricator.com/D17300

Details

Provenance
Mukunda Modell <mmodell@wikimedia.org>Authored on Mar 28 2017, 9:58 AM
20after4 <autocommitter@example.com>Committed on Mar 28 2017, 9:58 AM
Parents
rPHAB9e2ab4f80e8c: Scope syntax css rules to direct descendants only in diffs
Branches
Unknown
Tags
Unknown

Event Timeline

20after4 <autocommitter@example.com> committed rPHAB9e2f263bb49c: Add repositories to fulltext search index. (authored by Mukunda Modell <mmodell@wikimedia.org>).Mar 28 2017, 9:58 AM