saurav-milestone commented on PR #623:
URL: https://github.com/apache/unomi/pull/623#issuecomment-1661961423

   
![image](https://github.com/apache/unomi/assets/126774607/31d163f2-74b5-4f91-a290-2a6a4bc2bda6)
   Throws too many profiles error when using pastEventCondition.
   
   `10:29:51.052 ERROR [qtp1791358430-28225] Internal server error Too many 
profiles: java.lang.UnsupportedOperationException: Too many profiles in 
org.apache.unomi.plugins.baseplugin.conditions.IdsConditionESQueryBuilder.buildQuery(IdsConditionESQueryBuilder.java:45)
 (Set RuntimeExceptionMapper in debug to get the full stacktrace)`
   
   `{
       "offset": 0,
       "scrollTimeValidity":"10m",
       "condition": {
           "type": "booleanCondition",
           "parameterValues": {
               "operator": "AND",
               "subConditions": [
                   {
                       "parameterValues": {
                           "eventCondition": {
                               "parameterValues": {
                                   "operator": "and",
                                   "subConditions": [
                                       {
                                           "parameterValues": {
                                               "propertyName": 
"target.properties.pageInfo.destinationURL",
                                               "comparisonOperator": "exists"
                                           },
                                           "type": "eventPropertyCondition"
                                       }
                                   ]
                               },
                               "type": "booleanCondition"
                           },
                           "numberOfDays": 10,
                           "minimumEventCount": 1
                       },
                       "type": "pastEventCondition"
                   }
               ]
           }
       }
   }`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to