[Xapian-discuss] Parsing fields with phrases.

Jim Lynch jim at fayettedigital.com
Thu Feb 21 02:15:45 GMT 2013


I have the following code:

     my $par = 
$qp->parse_query($query,Search::Xapian::FLAG_SPELLING_CORRECTION);
     print LOG "Query $query, par $par\n";
     my $enq = $xDatabase->enquire( $par );

The output from the LOG file is:
Query title:"new dolphin", par Xapian::Query(0 * Snew dolphin)

No results are returned.  If I change the search to title:dolphin it 
finds a number of hits including one who's title is
Introducing the New Dolphin 
<http://localhost/mail/cur/mail.fdcga.com/Inbox/1905.html>

What do I do to make this work the way I want it to?

Thanks,
Jim.



More information about the Xapian-discuss mailing list