Opened 17 years ago

Closed 15 years ago

#220 closed enhancement (fixed)

DateValueRangeProcessor and StringVRP should allow a prefix/suffix like NumberVRP

Reported by: Pető Zoltán Owned by: Olly Betts
Priority: high Milestone: 1.1.2
Component: Library API Version: SVN trunk
Severity: minor Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description (last modified by Olly Betts)

In php4 xapian 1.0.4 there is a XapianDateValueRangeProcessor class without a prefix argument. Need prefix argument for searching a specified field ($number1vrp = new XapianNumberValueRangeProcessor(3, "USD:"); is also working with USD:200..500 in query string)

Change History (7)

comment:1 by Olly Betts, 17 years ago

Component: Xapian-bindingsLibrary API
op_sys: LinuxAll
Severity: normalenhancement
Status: newassigned
Summary: feature requestDateValueRangeProcessor should allow a prefix like NumberVRP
Version: 1.0.4SVN HEAD

We'd add this to the C++ API, then wrap it for PHP (and all the other languages).

comment:2 by Olly Betts, 17 years ago

Operating System: All
Summary: DateValueRangeProcessor should allow a prefix like NumberVRPDateValueRangeProcessor and StringVRP should allow a prefix/suffix like NumberVRP

StringValueRangeProcessor ought to support an optional prefix/suffix too.

comment:4 by Olly Betts, 17 years ago

Description: modified (diff)
Milestone: 1.1.0
Owner: changed from New Bugs to Olly Betts
Status: assignednew

We should at least think about this for 1.1.0 - implementing it mid-series might need workarounds to avoid ABI breakage.

comment:5 by Olly Betts, 16 years ago

Milestone: 1.1.01.1.1

Now that 1.1 is a development series, ABI breakage isn't a concern, so bumping.

comment:6 by Olly Betts, 16 years ago

Milestone: 1.1.11.1.2
Status: newassigned

comment:7 by Olly Betts, 15 years ago

Priority: normalhigh

Not vital, but I've started to work on a patch.

comment:8 by Olly Betts, 15 years ago

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

Fixed in trunk r13093.

Note: See TracTickets for help on using tickets.