Definition at line 2068 of file api_queryparser.cc.
◆ AuthorValueRangeProcessor()
AuthorValueRangeProcessor::AuthorValueRangeProcessor |
( |
| ) |
|
|
inline |
◆ operator()()
Xapian::valueno AuthorValueRangeProcessor::operator() |
( |
std::string & |
begin, |
|
|
std::string & |
end |
|
) |
| |
|
inlinevirtual |
Check for a valid range of this type.
- Parameters
-
[in,out] | begin | The start of the range as specified in the query string by the user. This parameter is a non-const reference so the ValueRangeProcessor can modify it to return the value to start the range with. |
[in,out] | end | The end of the range. This is also a non-const reference so it can be modified. |
- Returns
- If this ValueRangeProcessor recognises the range BEGIN..END it returns the value slot number to range filter on. Otherwise it returns Xapian::BAD_VALUENO.
Implements Xapian::ValueRangeProcessor.
Definition at line 2071 of file api_queryparser.cc.
References Xapian::BAD_VALUENO, startswith(), and Xapian::Unicode::tolower().
The documentation for this struct was generated from the following file: