1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-15 10:00:55 +01:00
phorge-phorge/src
epriestley 5e276df9c0 (stable) Allow the fulltext index to select only transactions with comments
Summary:
Ref T12997. Although we can't query by transaction type (since we can't easily enumerate all possible types which may have comments -- inline types may also have comments), we //can// just check if there's a comment row or not.

This reduces the amount of garbage we need to load to rebuild indexes for unusual objects with hundreds and hundreds of mentions.

Test Plan:
  - Used batch editor to mention a task 700 times.
  - Indexed it before and after this change, saw index time drop from {nav 1600ms > 160ms}.
  - Made some new comments on it, verified that they still indexed/queried properly.
  - Browsed around, made normal transactions, made inline comments.
  - Added a unique word to an inline comment, indexed revision, searched for word, found revision.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T12997

Differential Revision: https://secure.phabricator.com/D18660
2017-09-28 12:55:32 -07:00
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Pass all Throwables to Exception Handlers, not just Exceptions 2017-06-20 05:44:51 -07:00
applications (stable) Allow the fulltext index to select only transactions with comments 2017-09-28 12:55:32 -07:00
docs Document Ferret engine fulltext search features 2017-09-12 12:13:23 -07:00
extensions
infrastructure (stable) Promote 2017 Week 38 2017-09-22 11:48:44 -07:00
view Update Create Diff page for new Edit UI 2017-09-06 10:14:58 -07:00
__phutil_library_init__.php
__phutil_library_map__.php Add a RefPosition table to hold branch/tag positions once the RefCursor table is split 2017-09-15 10:19:17 -07:00