Closed Bug 920168 Opened 12 years ago Closed 12 years ago

Search in "searchable text" which can include tags and channels

Categories

(Webtools Graveyard :: Air Mozilla, defect, P1)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: peterbe, Unassigned)

Details

A combined text field that has a full-text index on it will make it possible to search for things that are both tags and description for example.
Priority: -- → P1
Priority: P1 → P2
Summary: Search in "searchable text" which can include tags, categories and possibly participants → Search in "searchable text" which can include tags and channels
Priority: P2 → P1
Actually I change my mind. I don't think this is a good idea. * Searching on just one field instead of having to search on `description` *and* `short_description` turns out to not be slow at all. I measured the time it took to search on the word "team" (which finds 218 events) and the whole query takes 48 milliseconds! * Suppose that we made a `searchable_text` field which is a concatenated mix of tags, channels, description and short_description then when the search results show a snippet of what it matched on it would return something that doesn't really exist. * We are much better off trying to match if typed in search phrase is a tag or a channel and if so simply use that to filter on tags and/or channels. We can use something I call "split search" [0] which allows you to type something like "tag: foo" or "richard tag: foo" which would make it a keyword tag search on "tag=foo". [0] http://www.peterbe.com/plog/split_search
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Instead, I'm going to work on this: https://bugzilla.mozilla.org/show_bug.cgi?id=1029859
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.