Hi Suho, Yes, time should be indexed.
On Tuesday, March 1, 2016, Sriskandarajah Suhothayan <[email protected]> wrote: > Hi Gimantha > > In most cases we need data sorted by time, so in that case do we need to > index time ? > > Regards > Suho > > On Tue, Mar 1, 2016 at 12:08 PM, Gimantha Bandara <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > >> Hi Shabir, >> >> In DAS 3.0.0 and DAS 3.0.1, sorting is not supported. You will have to >> sort the data at the client side. Currently I am implementing a sorting >> functionality on top of lucene indexing mechanism. Once thats implemented, >> records can be retrieved sorted by indexed fields. >> >> >> On Tuesday, March 1, 2016, Shabir Mohamed <[email protected] >> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: >> >>> Hi All, >>> >>> In the process of creating analytics gadgets for the IoT/EMM Server, I >>> have a need to fetch data from DAS filtered by some query parameters (ex: >>> deviceId, owner). >>> >>> In addition, I also have a need to sort the retrieved data based on a >>> specific attribute of the event-stream. As of what I had tried so far I >>> could not find any APIs provided at the DAS end to directly allow this >>> capability. Hence, I have taken to doing the sorting of the retrieved data >>> at my end. >>> >>> Is there any mechanism to achieve this from DAS itself, which I might >>> have missed? >>> >>> Regards >>> ------------------------------------- >>> *Shabir Mohamed* >>> *Software Engineer* >>> WSO2 Inc.; http://wso2.com >>> Email: [email protected] >>> Mobile: +94 77 3516019 | +94 71 6583393 >>> >> >> >> -- >> Gimantha Bandara >> Software Engineer >> WSO2. Inc : http://wso2.com >> Mobile : +94714961919 >> >> > > > -- > > *S. Suhothayan* > Technical Lead & Team Lead of WSO2 Complex Event Processor > *WSO2 Inc. *http://wso2.com > * <http://wso2.com/>* > lean . enterprise . middleware > > > *cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/ > <http://suhothayan.blogspot.com/>twitter: http://twitter.com/suhothayan > <http://twitter.com/suhothayan> | linked-in: > http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>* > -- Gimantha Bandara Software Engineer WSO2. Inc : http://wso2.com Mobile : +94714961919
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
