Displaying 3 results from an estimated 3 matches for "bkdr".
Did you mean:
bdr
2015 Mar 29
1
range query for terms
...{"starttime":1111,"endtime":2222}
considerring mapping prefix to slot number in two ways:
1.starttime-->0,endtime--->1
2.startime--->hash(starttime), endtime--->hash(endtime), while hash(key) is a random int, which may be very sparse but unique, for example, using BKDR hash.
after simple test, both ways seemed to work well. can I use the second way(do not have to maintain a mapping), is there performance issues?
At 2015-03-16 03:36:48, "Olly Betts" <olly at survex.com> wrote:
>On Sat, Mar 14, 2015 at 09:25:24PM +0800, ??? wrote:
>> the...
2015 Apr 01
0
回复: range query for terms
...quot;:2222}
>> considerring mapping prefix to slot number in two ways:
>> 1.starttime-->0,endtime--->1
>> 2.startime--->hash(starttime), endtime--->hash(endtime), while
>> hash(key) is a random int, which may be very sparse but unique, for
>> example, using BKDR hash.
>>
>> after simple test, both ways seemed to work well. can I use the second
>> way(do not have to maintain a mapping), is there performance issues?
>
>It'll add a small overhead to anywhere that has to store the value slot
>number.? Also, you have to worry wha...
2015 Mar 14
2
range query for terms
first, thank you,xapian!
then I'd like to ask if it is possible to do a range query on terms(like the range query on values), or if it is just a wildcard(right truncation) match.
the case is searching ip address bettween ?10.10.0.0? and ?10.10.255.255?
the user want :
1. query "10.10.10.10" < ip < "10.10.10.12" gives "10.10.10.11"
2. query