I am using structured query to fetch 100k messages from the database as below:
sqb.and(
sqb.word(sqb.jsonProperty(status.name), toBeReported.name),
sqb.word(sqb.jsonProperty(dataCategory.name), param.businessCategory),
sqb.range(sqb.jsonProperty(creationDate.name), marklogicDateFormat.name, Operator.LE, DateUtil.printFpmlDateTime(param.messagesTime)))
then, applying the sorting on it using optionsName.
I am getting timeout error sometimes like :
SVC-EXTIME: search-impl:apply-search($querydef) -- Time limit exceeded
Can someone please tell me that are structured queries make unfiltered searched or filtered searched? can we make structured queries to make unfiltered searched?