Page MenuHomePhabricator

Render highlighted search result body snippets in global search results views
Closed, DuplicatePublic

Description

When using Elasticsearch it is trivial to provide highlighted field snippets along with search results.

Phabricator currently does this manually in PhabricatorSearchResultView, but only for document titles.

I'm not sure how easily this could be implemented for results from MySQL, however, I intend to implement this for Elasticsearch and I will attempt to upstream the code if @epriestley is interested in including this feature in the upstream.

Event Timeline

chad renamed this task from Render highlighted search result body snippets in global search results views. to Render highlighted search result body snippets in global search results views.Apr 7 2017, 6:20 AM

I'm just going to merge this into T8646 which broadly discusses richer search results.