[MarkLogic Dev General] Reduce the query execution time for cts:value-tuples

2015-07-05 Thread shruti kapoor
Hi, I have a cts:value-tuples() query which fetches the json array result. The query runs on aprroximately 3lac xmls and the result set contains about 30k elements in json array. It takes about 48sec to run this query. Is there a way to reduce its execution time. I have used range indexes for

Re: [MarkLogic Dev General] Reduce the query execution time for cts:value-tuples

2015-07-05 Thread Geert Josten
PM To: MarkLogic Developer Discussion general@developer.marklogic.commailto:general@developer.marklogic.com Subject: Re: [MarkLogic Dev General] Reduce the query execution time for cts:value-tuples Hi Geert, I need all 30k results and since the response is in json array, I convert

Re: [MarkLogic Dev General] Reduce the query execution time for cts:value-tuples

2015-07-05 Thread Geert Josten
@developer.marklogic.com Subject: [MarkLogic Dev General] Reduce the query execution time for cts:value-tuples Hi, I have a cts:value-tuples() query which fetches the json array result. The query runs on aprroximately 3lac xmls and the result set contains about 30k elements in json array. It takes

Re: [MarkLogic Dev General] Reduce the query execution time for cts:value-tuples

2015-07-05 Thread shruti kapoor
From: shruti kapoor shrutikapoor@gmail.com Reply-To: MarkLogic Developer Discussion general@developer.marklogic.com Date: Sunday, July 5, 2015 at 11:22 AM To: MarkLogic Developer Discussion general@developer.marklogic.com Subject: [MarkLogic Dev General] Reduce the query execution time