Using method op.and with multiple boolean expressions functions slows down my query
In my case I am using both op.or() and op.and() with multiple boolean expressions (about 250 and more). Method op.or() works fine but when I change last expression before .where() to op.and() with the same boolean expressions elapsedTime increases 10x times like from PT5.590023S to PT1M11.772006S. Single boolean expression from my query exported via view.export() is no bigger then that:
empty result with xdmp:spawn-function
the code which I am executing is going to query five million documents for each productId
, so I decided to use xdmp:spawn-function
and utilize TaskServer
to distribute this heavy task but I noticed that I am getting empty results when I use xdmp:spawn-function
. I tried with <result>true</result>
options but it did not work.
Marklogic : cts:parse to run wildcarded/case-insensitive searches with NEAR option
I have a requirement to run the below string wildcarded and case-insensitive search