[MarkLogic Dev General] Premature End of Stream on Read: How to Fix?

Eliot Kimber ekimber at reallysi.com
Thu Nov 15 19:45:54 PST 2007


I have a query that can involve a number of documents and that then 
returns what could be a large result (it's building a tree of "node" 
elements representing a hierarchical structure composed from multiple 
documents). It is being applied via an XDBC connection.

The query is recursive and I can control the recursion depth as a 
parameter to the top-level query function.

The problem I'm running into is that for some data sets, when my 
recursion depth exceeds a certain value, the query fails with a 
"Premature end of stream on read" exception from MarkLogic.

I suspect that this requires adjusting some setting on the server but I 
have no idea what that might be.

Is this error symptomatic of a problem that can be corrected by 
adjusting the server configuration? My current setup uses all the defaults.

Thanks,

Eliot

-- 
Eliot Kimber
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
Main: 610.631.6770
www.reallysi.com
www.rsuitecms.com



More information about the General mailing list