#include <queryparser.h>
Inheritance diagram for Xapian::NumberValueRangeProcessor:
Public Member Functions | |
NumberValueRangeProcessor (Xapian::valueno valno_) | |
NumberValueRangeProcessor (Xapian::valueno valno_, const std::string &str_, bool prefix_=true) | |
Xapian::valueno | operator() (std::string &begin, std::string &end) |
See if <begin>. |
This class currently has a design bug - a string comparison is used so the numbers must be the same length for it to work, but you can't just zero pad the values in the database because those from the query aren't. We therefore recommend that you avoid using this class at present.
|
See if <begin>. .<end> is a valid value range. If this ValueRangeProcessor recognises <begin>..<end> it returns the value number of range filter on. Otherwise it returns Xapian::BAD_VALUENO. Implements Xapian::ValueRangeProcessor. |