Ticket #234 (assigned enhancement)
add an option to specify whether filter terms of a given prefix should be ORed or ANDed together
| Reported by: | tv+xapian.org | Owned by: | olly |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Omega | Version: | SVN trunk |
| Severity: | minor | Keywords: | |
| Cc: | Blocked By: | ||
| Operating System: | All | Blocking: |
Description
Hi,
the patch at http://people.debian.org/~tviehmann/list-search/xapian_omega_add_option_filter_defaultop.diff adds an option map to allow overriding the filter behaviour from OR to AND among the terms of a given prefix. For example, if first and last name are indexed with prefix A, I would add
$setmap{filter_defaultop,A,AND}
to the query template in order to be handle first, last, or first and last name entered into the appropriate fields.
Kind regards
Thomas
URL: http://people.debian.org/~tviehmann/list-search/xapian_omega_add_option_filter_defaultop.diff
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
