[Xapian-discuss] Less than, greater than?
Eric B. Ridge
ebr at tcdi.com
Wed Feb 9 15:48:01 GMT 2005
On Feb 9, 2005, at 10:32 AM, <rm at fabula.de> wrote:
> Hmm, but the big caveat here is: prices tend to be numeric and don't
> sort in alphabetic order ...
Good point. However if the OP is adding the terms himself then he can
easily left pad them with zero's. That would do the trick. But it
sounds like the project is with Omega and I know nothing about how
Omega works and what level of flexibility it provides for this sort of
thing.
eric
>
> RalfD
>
>> I'm assuming you've got a term in each document like XP5.00 that would
>
>> represent a field named Price with a value of five bucks.
>>
>> I think a custom MatchDecider would work too. Here you could use an
>> indexed value of each document to make the decision, but I think this
>> happens across the entire set of documents that match your initial
>> query, not in-line with the query matching.
>>
>> eric
>>
>>
>> _______________________________________________
>> Xapian-discuss mailing list
>> Xapian-discuss at lists.xapian.org
>> http://lists.xapian.org/mailman/listinfo/xapian-discuss
More information about the Xapian-discuss
mailing list