Page MenuHomePhabricator

Partially use ApplicationSearch in main search
ClosedPublic

Authored by epriestley on Jan 31 2014, 4:57 PM.
Tags
None
Referenced Files
F19633335: D8120.id.diff
Feb 5 2026, 6:53 AM
F19534325: D8120.id.diff
Jan 20 2026, 11:31 PM
F19506714: D8120.id18364.diff
Jan 9 2026, 4:51 PM
F18885069: D8120.id.diff
Nov 7 2025, 2:37 AM
F18833445: D8120.id.diff
Oct 26 2025, 3:29 AM
F18812410: D8120.id18364.diff
Oct 20 2025, 9:09 AM
F18763820: D8120.id.diff
Oct 7 2025, 2:25 AM
F18760309: D8120.diff
Oct 6 2025, 8:57 AM
Subscribers

Details

Summary

Ref T4365. Primary search currently uses PhabricatorSearchQuery for storage, which is pretty much the same as PhabricatorSavedQuery, except that it's old and not used anywhere else anymore.

Maniphest used to also use this table, but no longer does after Septmeber, 2013. We need to retain the class so the migration can work.

This introduces PhabricatorSearchApplicationSearchEngine and PhabricatorSearchDocumentQuery, but they're both stubs that I just needed for technical reasons and/or to pass lint. The next couple patches will move logic into them and use ApplicationSearch properly.

Test Plan
  • Searched for stuff.
  • Searched for stuff with filters.
  • Searched for fulltext in Maniphest.
  • Grepped for PhabricatorSearchQuery.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped