diff options
author | randomdan <randomdan@localhost> | 2011-03-31 14:12:44 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-03-31 14:12:44 +0000 |
commit | 7f45de87a7509e651f30af068bb7ec75ed6bac6a (patch) | |
tree | af10a6b20de7eab4ab157125dfbb37685287170e | |
parent | Use namedpackages function and GIN index to speed up bug association (diff) | |
download | gentoobrowse-7f45de87a7509e651f30af068bb7ec75ed6bac6a.tar.bz2 gentoobrowse-7f45de87a7509e651f30af068bb7ec75ed6bac6a.tar.xz gentoobrowse-7f45de87a7509e651f30af068bb7ec75ed6bac6a.zip |
Use unmangled FTS on bug search
-rw-r--r-- | gentoobrowse/views/search.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse/views/search.xml b/gentoobrowse/views/search.xml index 85ec56e..b3a5ed2 100644 --- a/gentoobrowse/views/search.xml +++ b/gentoobrowse/views/search.xml @@ -25,7 +25,7 @@ </filter> FROM bugs b <filter name="freeText"> - WHERE to_tsvector('english', regexp_replace(summary, '-[0-9][^ ]*', '', 'g')) @@ plainto_tsquery('english', <param name="criteria" />) + WHERE to_tsvector('english', summary) @@ plainto_tsquery('english', <param name="criteria" />) ORDER BY rank DESC, bugid DESC </filter> </sql> |