Page MenuHomePhabricator

Index Paste documents in Ferret
Closed, ResolvedPublic

Description

See PHI1673. Paste documents are not currently indexed in Ferret and do not appear in global search results.

Historically, content search for pastes was tricky because MySQL fulltext search had some flexibility issues, but I suspect there is now a reasonable pathway forward because Ferret is ngram-based:

  • Index them as normal documents, including document content.
  • Keep an eye on the interpretation of search tokens as "human language". In the future, we might want to interpret tokens like some_function_name as exact substring searches.