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

   
![image](https://github.com/apache/unomi/assets/126774607/31d163f2-74b5-4f91-a290-2a6a4bc2bda6)
   Throws too many profiles error when using pastEventCondition for searching 
profiles using profiles/search API.
   
   `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: dev-unsubscr...@unomi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to