[Xapian-discuss] Hyphen search with parse_query()

Peter Bengtsson peter at fry-it.com
Thu Apr 15 10:13:21 BST 2010


On 15 April 2010 01:52, Olly Betts <olly at survex.com> wrote:
> On Wed, Mar 31, 2010 at 03:00:00PM +0100, Peter Bengtsson wrote:
>> How do I make the search for exactly "peter-bengtsson" or exacly
>> "ssh-add" or "e-mail"?
>
>    query = xapian.Query("peter-bengtsson")
>
> (You can't currently achieve with using QueryParser).
>
So what is the alternative? If there is one.



-- 
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
fun crosstips.org



More information about the Xapian-discuss mailing list