← Back to team overview

launchpad-dev team mailing list archive

Re: "subscribe to search": implementation questions

 

On 17.08.2010 02:48, Robert Collins wrote:
> That approach would work, but it seems like its going to have some caveats:
> - We're looking to stop using tsearch for search (doesn't do what we need)

right, but the current full text search is better than no full text
search at all ;)

> - subscribers can change their name, this adds a renaming burden for
> correctness?

A subscriber of a (bug|structural)subscription is just a reference to a
Person record. So, changing the name of a subscriber should not affect
any subscription.

> 
> Also, I don't see why full text search rather than structured search
> is needed here - I mean, if the data is structured fairly clearly,
> just a regular query would do, wouldn't it?

People might be interested to subscribe only to a subset of bugs of a
project or source package which affect a certain aspect.

Well, a use case would be "subscribe to all new bugs for firefox which
mention 'flash'". Sure, you can use tags to do this, but if the tag does
not exist for whichever reason, for example, disagreement if it makes
sense for the project/package, or if you want to see new bugs in order
to decide if the bug should be labeled with the tag, a full text search
is quite convenient, I think.

Abel




Follow ups

References