summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-03-31 14:12:44 +0000
committerrandomdan <randomdan@localhost>2011-03-31 14:12:44 +0000
commit7f45de87a7509e651f30af068bb7ec75ed6bac6a (patch)
treeaf10a6b20de7eab4ab157125dfbb37685287170e
parentUse namedpackages function and GIN index to speed up bug association (diff)
downloadgentoobrowse-7f45de87a7509e651f30af068bb7ec75ed6bac6a.tar.bz2
gentoobrowse-7f45de87a7509e651f30af068bb7ec75ed6bac6a.tar.xz
gentoobrowse-7f45de87a7509e651f30af068bb7ec75ed6bac6a.zip
Use unmangled FTS on bug search
-rw-r--r--gentoobrowse/views/search.xml2
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>