1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-07 13:21:02 +01:00
phorge-phorge/src/applications/maniphest/storage
epriestley 1583738842 Allow search results to be snippeted, roughly
Summary:
Ref T8646. This is fairly rough:

This interface is very niche, and not really flexible enough to accommodate other result customization (but I don't think we have any plans here)?

I'm just //summarizing// the content of documents, basically showing the first paragraph of their content, summary, etc. This isn't what Google does: it shows snippets surrounding the actual search terms. However, this is more involved and might be less useful in structured data: for example, I'd imagine that the first line of most phriciton documents, maniphest tasks and Differential revisions really might be the best machine-generatable summary of them. The actual contextual snippeting in Google doesn't often seem hugely useful to me. But this might also not be very useful.

There's not much design, not sure if you had any ideas.

I only implemented this for tasks, revisions and the wiki since those seem most useful.

I'm generally on the fence about this, but it's not a ton of work to swap out for something else later. Maybe we can see how it feels? But happy to toss it or rethink the approach.

Test Plan: {F788026}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T8646

Differential Revision: https://secure.phabricator.com/D14095
2015-09-10 19:06:36 -07:00
..
ManiphestCustomFieldNumericIndex.php Various linter fixes. 2014-02-26 12:44:58 -08:00
ManiphestCustomFieldStorage.php Various linter fixes. 2014-02-26 12:44:58 -08:00
ManiphestCustomFieldStringIndex.php Various linter fixes. 2014-02-26 12:44:58 -08:00
ManiphestDAO.php Remove @group annotations 2014-07-10 08:12:48 +10:00
ManiphestNameIndex.php Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
ManiphestSchemaSpec.php Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00
ManiphestTask.php Allow search results to be snippeted, roughly 2015-09-10 19:06:36 -07:00
ManiphestTransaction.php Remove temporary code 2015-02-10 08:22:23 +11:00
ManiphestTransactionComment.php Rename "transactionpro" table to "transaction" 2013-09-24 10:49:16 -07:00