[Xapian-tickets] [Xapian] #234: add an option to specify whether filter terms of a given prefix should be ORed or ANDed together

Xapian nobody at xapian.org
Fri Feb 12 16:53:33 GMT 2010


#234: add an option to specify whether filter terms of a given prefix should be
ORed or ANDed together
---------------------------+------------------------------------------------
 Reporter:  tv+xapian.org  |        Owner:  olly     
     Type:  enhancement    |       Status:  assigned 
 Priority:  normal         |    Milestone:           
Component:  Omega          |      Version:  SVN trunk
 Severity:  minor          |   Resolution:           
 Keywords:                 |    Blockedby:           
 Platform:  All            |     Blocking:           
---------------------------+------------------------------------------------

Comment(by cworth):

 Replying to [comment:3 olly]:
 > But there might be uses for AND rather than OR on the same prefix, so
 the patch
 > might still be worthwhile.  It would need to be a case where the filter
 terms are
 > overlapping but not just in a subset/superset way.

 The notmuch email program definitely has a use for this. There we tag
 various emails,
 so I might want to search for emails with "tag:xapian tag:bugs" and I
 would want want
 those to be ANDed together.

 The last time I investigated this issue, I remember seeing the proposal to
 indicate on
 a pure-prefix basis whether OR or AND was desired, (or perhaps the
 proposed sematic was
 to indicate whether a given prefix could appear multiply or not and the
 appropriate
 operator is chosen accordingly).

 I'm not seeing that proposal in any open ticket now though. Am I
 misremembering, or am
 I just failing to find it?

 -Carl

-- 
Ticket URL: <http://trac.xapian.org/ticket/234#comment:5>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list