[Xapian-discuss] Hyphen search with parse_query()

Olly Betts olly at survex.com
Thu Apr 15 01:52:14 BST 2010


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).

Cheers,
    Olly



More information about the Xapian-discuss mailing list