[Xapian-discuss] QueryParser (I think) question

Andreas Marienborg andreas at startsiden.no
Tue May 22 13:34:42 BST 2007


Hello

I have an index where I add some boolean terms, like source (S), feed  
(F) etc.

I would like to search in items that are either from source 1 or  
source 2 for instance,
so I tried the following: "source:1 OR source:2", but that results in  
the following query after
parsing:

  Xapian::Query((or:(pos=1) FILTER (S1 AND S2)))

is that expected? am I trying to do something that I cannot do? or am  
I just doing something wrong?


- andreas



More information about the Xapian-discuss mailing list