marcardar / transcriptstudio-isha

Automatically exported from code.google.com/p/transcriptstudio4isha
0 stars 0 forks source link

Exception when searching for something with subsequent large results set #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Search for something common like "text: the" where there are at least say
10 transcripts loaded. Get:

<exception>
<path>/db/ts4isha/xquery/main.xql</path>
−
<message>
The constructed document fragment exceeded the predefined size limit
(current: 10,004; allowed: 10,000). The query has been killed. [at line 55,
column 25]
In call to function:
    search-panel:main() [36:17]
    main:display-panel(item()*) [151:49]
</message>
</exception>

I think this is where paged results would come in handy.

Original issue reported on code.google.com by mjc1...@gmail.com on 30 Mar 2009 at 4:25

GoogleCodeExporter commented 9 years ago

Original comment by mjc1...@gmail.com on 30 Mar 2009 at 4:25

GoogleCodeExporter commented 9 years ago
Initial idea is simply to truncate the results to the first, say, 100 items and
provide a message detailing this truncation.

Original comment by mjc1...@gmail.com on 31 Mar 2009 at 7:29

GoogleCodeExporter commented 9 years ago
Fixed in r333.

I've run some searches recently where I get over 500 results returned 
successfully. I
don't know if this is because of the change we recently made to the jetty 
settings to
allow larger post requests.

Anyway, now we restrict the number of results to the first 500.

If this is too high then we just need to change the declared variable in 
search-fns.xqm

Original comment by mjc1...@gmail.com on 6 Apr 2009 at 3:58