[Xapian-discuss] Multiple filters with PHP? How to?

James Aylett james-xapian at tartarus.org
Tue Jan 8 21:46:06 GMT 2008


On Tue, Jan 08, 2008 at 01:25:15PM -0800, athlon athlonf wrote:

> Parsed query is: Xapian::Query((Zandi:(pos=1) FILTER G68))
> Parsed query is: Xapian::Query((Zandi:(pos=1) FILTER XAUTHORID5))

What about Xapian::Query(G68 AND XAUTHORID5)?

> author = "the author" 
> $qarray[] = new XapianQuery('Athe author');
> Won't give anything

Umm, you probably want (Athe AND Aauthor)?

> As well: startdate = ">01-01-2008" 

To look at date range selects, see
<http://www.xapian.org/docs/valueranges.html>.

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list