Page MenuHomePhabricator

Partially use ApplicationSearch in main search
ClosedPublic

Authored by epriestley on Jan 31 2014, 4:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 8, 10:59 PM
Unknown Object (File)
Wed, May 7, 9:11 PM
Unknown Object (File)
Tue, May 6, 9:19 AM
Unknown Object (File)
Mon, May 5, 11:07 AM
Unknown Object (File)
Apr 26 2025, 7:53 PM
Unknown Object (File)
Apr 22 2025, 12:46 PM
Unknown Object (File)
Apr 21 2025, 3:01 AM
Unknown Object (File)
Apr 20 2025, 9:27 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