1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/applications/search
epriestley 0e2e525bb4 Add a "terms" corpus to Ferret fields
Summary:
Ref T12819. Ferret currently does substring search, but this is not the default mode users expect: when you search for the "RICO" act, you do not expect to find documents containing "apRICOt" even though "RICO" is a substring.

To support term search, index the corpus as a list of terms with puncutation removed and whitespace normalized so the engine can match against it.

Test Plan:
Ran `storage upgrade`, ran `search index`, saw sensible database results:

```
   rawCorpus: This is the task description.

Hark! Whom'st'dve eaten this "food" shall surely ~perish~?? #blessed
normalCorpus: thi the task descript hark whom dve eaten food shall sure perish bless
  termCorpus:  This is the task description Hark Whom'st'dve eaten this food shall surely perish blessed
```

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12819

Differential Revision: https://secure.phabricator.com/D18498
2017-08-30 11:29:14 -07:00
..
application Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
applicationpanel Fix Search Application Config 2017-07-18 17:44:56 +00:00
buckets Use new Differential bucketing logic on default (non-dashboard) homepage 2016-05-19 15:20:39 -07:00
constants Aggregate corpus data in Ferret field rows 2017-08-30 11:28:30 -07:00
controller Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
editor Validate menu item fields (links, projects, dashboards, applications, forms, etc) 2017-01-20 11:58:25 -08:00
engine Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
engineextension Add a "terms" corpus to Ferret fields 2017-08-30 11:29:14 -07:00
exception Allow administrators to get a list of users who don't have MFA configured 2017-03-15 17:49:01 -07:00
ferret Add a "terms" corpus to Ferret fields 2017-08-30 11:29:14 -07:00
field Let PhabricatorSearchCheckboxesField survive saved query data with mismatched types 2017-06-23 12:29:47 -07:00
fulltextstorage Warn users that compound terms separated by apostrophes don't work in the MySQL FULLTEXT index either 2017-08-02 16:06:08 -07:00
index Support multiple fulltext search clusters with 'cluster.search' config 2017-03-26 08:16:47 +00:00
interface Extend "fulltext" and "ngrams" interfaces from "indexable" interface 2017-04-17 12:59:41 -07:00
management Convert cluster/projects config options to newer modular structure 2017-06-27 12:35:54 -07:00
menuitem Remove recentParticipants from ConpherenceThread 2017-04-13 13:55:08 -07:00
ngrams Add a "terms" corpus to Ferret fields 2017-08-30 11:29:14 -07:00
phidtype Rename "ProfilePanelConfiguration" to "ProfileMenuItemConfiguration" 2016-12-11 11:44:22 -08:00
query Make the default ApplicationSearch query explicit, not just the first item in the list 2017-08-24 15:21:00 -07:00
relationship Render parent and child tasks in Maniphest with a graph trace 2016-07-01 10:41:07 -07:00
storage Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
typeahead Added application name to the typeahead results for doc type search 2016-08-25 11:26:49 -04:00
view Allow users to drop .ics files on calendar views to import them 2016-10-18 15:26:44 -07:00
worker Convert all "DocumentIndexers" into "FulltextEngines" 2015-12-21 17:25:23 -08:00