Michael Segel <michael_segel@...> writes:
> >>>>>>> Hi,
> >>>>>>> Alexandr Vasilenko
> >>>>>>> Have you ever resolved this issue?i am also facing this
iusse.
> >>>>>>> i also want implement this functionality.
> >>>>>>> Imagine row key of format
> >>>>>>> salt:timestamp and rows goes like this:
> >>>>>>> ...
> >>>>>>> 1:15
> >>>>>>> 1:16
> >>>>>>> 1:17
> >>>>>>> 1:23
> >>>>>>> 2:3
> >>>>>>> 2:5
> >>>>>>> 2:12
> >>>>>>> 2:15
> >>>>>>> 2:19
> >>>>>>> 2:25
> >>>>>>> ...
> >>>>>>>
> >>>>>>> And I want to find all rows, that has second part (timestamp)
in
> >> range
> >>>>>>> 15-25.
> >>>>>>>
> >>>>>>> Could you please tell me how you resolve this ?
> >>>>>>> thanks in advance.
> >>>>>>>
> >>>>>>>
> >>>>>>> Tony duan
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Regards,
> >>>>>> Premal Shah.
> >>>>>>
> >>>>>> Confidentiality Notice: The information contained in this message,
> >>>>>> including any attachments hereto, may be confidential and is
intended
> >>>> to be
> >>>>>> read only by the individual or entity to whom this message is
> >>>> addressed. If
> >>>>>> the reader of this message is not the intended recipient or
an
agent
> >> or
> >>>>>> designee of the intended recipient, please note that any review,
use,
> >>>>>> disclosure or distribution of this message or its attachments,
in
any
> >>>> form,
> >>>>>> is strictly prohibited. If you have received this message in
error,
> >>>> please
> >>>>>> immediately notify the sender and/or
> Notifications@... and
> >>>>>> delete or destroy any copy of this message and its attachments.
> >>>>>>
> >>>>
> >>>>
> >>
> >>
>
> The opinions expressed here are mine, while they may reflect a cognitive
thought, that is purely
> accidental.
> Use at your own risk.
> Michael Segel
> michael_segel (AT) hotmail.com
>
>
Michael Segel,
Thanks for your advise.
I would like to make a clarification about user case.
1.Rowkey format like this :
AppId + keyword + time e.g. 153299:INFO:1381788000000
2.In search page. we need to retrieve data according to some conditions .
AppId . keyword .time duration. actually,we keep all three
info(AppId,keyword ,time)in rowkey.
3.when doing search in page: About keyword we should guarantee that it is
case insensitive ,and also we should retrieve data according to time
duration.
4.In order to resolve this ,i do follow things,
first :use RegexStringComparator to fetch all data that contains
keyword(this is case insensitive)
second:use part of keyword (time 1381788000000)to retrieve data in time
duration specified in jsp page.
addition:i am a new member in this project .Actually ,it is case sensitive
in search page before .but now ,we want it to case insensitive .
Do you have any suggestions?
thanks in advance.
Regards,
Tony Duan.
|