HomePhabricator

Add repositories to fulltext search index.

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
20after4Authored on Mar 28 2017, 7:58 AM
industryPushed on Mar 28 2017, 7:58 AM
Reviewer
Blessed Reviewers
Differential Revision
D17300: Add repositories to fulltext search index.
Parents
rP9e2ab4f80e8c: Scope syntax css rules to direct descendants only in diffs
Branches
Unknown
Tags
Unknown
Build Status
Buildable 16187
Build 21489: Run Core Tests