A fix is in progress for searching with an hyphen however implicit
wildcard when searching for a package name with a prefix e.g. name
:ubuntu-res is not possible with the current version of xapian:
Extract from the discussion on #xapian:
"It needs two new options: firstly, to make it handle wildcards (and implicit
wildcards from FLAG_PARTIAL) for boolean fields and secondly to make it handle
wildcards and implicit wildcards at the end of hypenated phrases."
A workaround (but very bad practice) is to replace '-' by '* ' when the prefix
'name:' and replace '-' by ' ' when no prefix is used.
With this a query such as 'name:ubuntu-res' will be parsed as XPubuntu* AND
res* (with wildcard expansion)
but a query such as 'name:(ubuntu-res*)' won't return anything
** Changed in: synaptic (Ubuntu)
Status: Triaged => In Progress
** Changed in: synaptic (Ubuntu)
Assignee: (unassigned) => Jean-Baptiste Lallement (jibel)
--
[quicksearch] New 'quick search' is unable to search for dashes '-'
https://bugs.launchpad.net/bugs/282995
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs