*** This bug is a duplicate of bug 29713 ***
https://bugs.launchpad.net/bugs/29713
Searching for the "versioned package names" like "blcr-dkms
0.8.2-15ubuntu1" should work, once the fix for ug 29713 lands. The main
issue was probably the bad processing of '-' in ftq().
select to_tsvector('blcr-dkms 0.8.2-15ubuntu1');
to_tsvector
---------------------------------------------------------------
'-15':5 '0.8.2':4 'blcr':2 'blcr-dkms':1 'dkms':3 'ubuntu1':6
(1 row)
select ftq('blcr-dkms 0.8.2-15ubuntu1');
ftq
-------------------------------------------------------------
'blcr-dkms' & 'blcr' & 'dkms' & '0.8.2' & '-15' & 'ubuntu1'
(1 row)
select to_tsvector('blcr-dkms 0.8.2-15ubuntu1') @@ ftq('blcr-dkms
0.8.2-15ubuntu1');
?column?
----------
t
(1 row)
So, the version string is cut into three parts: '0.8.2', '-15',
'ubuntu1'. It might make sense to add a special tokenizer for these
version strings.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/768685
Title:
searching for exact title prefix gets no matches (text search issue)
To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/768685/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs