Hi Isuru,

You can filter out result on more than one attribute using boolean
operators [1].

ex:
 *"query" : "timestamp : [1243214324532 TO 4654365223] AND "processId"
: 10035 *

[1] https://lucene.apache.org/core/2_9_4/queryparsersyntax.html#Boolean
operators


On Tue, Oct 6, 2015 at 1:04 PM, Isuru Wijesinghe <[email protected]> wrote:

> Hi,
>
> I need to perform COUNT() operation through DAS REST API (an example is
> shown below). I tried to pass COUNT() from a luciene object. But it didn't
> work for me. Does DAS support COUNT operation through luciene ???  if not
> how can I enable it in DAS side???
>
> eg: *SELECT startedTime, processDefinitionId, COUNT(processInstanceId) AS
> processInstanceCount FROM PROCESS_USAGE_SUMMARY GROUP BY startedTime,
> processDefinitionId;*
>
> In addition to that, is that possible to pass more than one parameter to
> the query part in luicene object, because most graphs have to provide a
> secondary filter to get the result. As an example I need to filter the
> result from date range as well as process id.  I need something like this.
>
>  *"query" : "timestamp : [1243214324532 TO 4654365223], processId :
> 10035" *
>
> Any help will be appreciated.
>
> --
> Isuru Wijesinghe
> *Software Engineer*
> Mobile: 0710933706
> [email protected]
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to