Sini - overall I believe that the timeout values are there to help clear out any "out of control" queries and release the resources they are taking up. If this is a public-facing app server for which anyone could issue queries that may take this long - you may not want to increase the timeout. From your original message, though, I don't expect that to be the case - so I expect you should be fine, i.e. without any real downside.
Note that none of what I've written is looking at the query/loop which you've posted - I'm only replying to the timeout issue. I'll let others reply (as appropriate) to the query/loop. On Mon, Mar 25, 2013 at 5:25 AM, sini narayanan <[email protected]>wrote: > Hi Mark, > > Thanks for your response. > But is it fine to change the timeout values for the app server. Will this > cause any other performance issues? > > Thanks, > Sini > > > On Mon, Mar 25, 2013 at 2:45 PM, Mark Ferneau <[email protected]> wrote: > >> Sini - >> >> Use the MarkLogic admin console to change the timeout values for the app >> server you are using. >> >> >> On Mon, Mar 25, 2013 at 5:01 AM, sini narayanan >> <[email protected]>wrote: >> >>> Hi All, >>> >>> I have a search query which would return more than 30000 records. >>> I'm performing this search in an xqy module. Based on the search >>> results, I'm inserting the uri of each search result (search:result//@uri) >>> into a document. >>> >>> ie: The final document will be as below. >>> <Docuri> >>> <uri val="/a/b/1.xml"/> >>> <uri val="/a/b/2.xml"/> >>> <uri val="/a/b/3.xml"/> >>> .... >>> .... >>> <uri val="/a/b/30000.xml"/> >>> </Docuri> >>> >>> >>> But when I'm executing this through the pipeline, its throwing error >>> "Time limit exceeded". >>> How do I resolve this? >>> >>> Loop being executed is: >>> >>> for $i in (1 to $no-of-pages) >>> let $searchResults := search:resolve($query, >>> $options,$index,$pageSize) >>> >>> >>> >>> Thanks, >>> Sini >>> >>> _______________________________________________ >>> General mailing list >>> [email protected] >>> http://developer.marklogic.com/mailman/listinfo/general >>> >>> >> >> _______________________________________________ >> General mailing list >> [email protected] >> http://developer.marklogic.com/mailman/listinfo/general >> >> > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > >
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
