Homec4science

Be able to search for Differential and other short strings

Authored by vrana <jakubv@fb.com> on Mar 15 2012, 03:07.

Description

Be able to search for Differential and other short strings

Summary:
I wanted to search for D1234 in texts of other documents.
But search tool always redirects me.

I've left the redirect behavior for simple search forms (header and home) and removed it from full search form.

I don't consider this complete because the first result in search for D1234 should be of course D1234 which is not the case currently.
I am not sure how to solve it:

  • We can display a special result in this case.
  • We can index the documents so that they will be searchable also for short strings.

I tend to use the first solution because revisions can be truncated at arbitrary length (rX1f1f1f should display revision rX1f1f1f1f1f1f1f).

Test Plan: Search for D1234, rX123, T4.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley, ddfisher

Differential Revision: https://secure.phabricator.com/D1905

Details

Committed
vrana <jakubv@fb.com>Apr 3 2012, 01:13
Pushed
aubortJan 31 2017, 17:16
Parents
rPH44e3b6883bdf: Changed MetaMta Body Parser to handle HTC mail application correctly
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <jakubv@fb.com> committed rPH5ee1341b974b: Be able to search for Differential and other short strings (authored by vrana <jakubv@fb.com>).Apr 3 2012, 01:13