# No results for crawling a page of links

**URL:** <https://discuss.codelibs.org/t/no-results-for-crawling-a-page-of-links/772>\
**Category:** English:Fess\
**Created:** [January 21, 2019, 2:52pm UTC](https://discuss.codelibs.org/t/no-results-for-crawling-a-page-of-links/772 "2019-01-21T14:52:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![discuss](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/discuss/32/298_2.png) [@discuss](https://discuss.codelibs.org/u/discuss)\
**Post date:** [January 21, 2019, 2:52pm UTC](https://discuss.codelibs.org/t/no-results-for-crawling-a-page-of-links/772/1 "2019-01-21T14:52:30Z")

</div>

(from [github.com/DuncanFranklin](http://github.com/DuncanFranklin))  
I am a novice to Fess, the developer who set it up as our web search left and hasn’t been replaced.

One of the crawls we do is for events and the events are crawled and labelled as events if they appear on [https://www.soas.ac.uk/util/eventscrawler](https://www.soas.ac.uk/util/eventscrawler) but none of the events listed on this page are showing up. Any help would be gratefully received.

We exclude ._events._ from indexing and crawling in the main website crawl, this would cover all event items on the site, the settings for the events crawl are:

URLs | [https://www.soas.ac.uk/util/eventscrawler](https://www.soas.ac.uk/util/eventscrawler)

Included URLs For Crawling | [https://www.soas.ac.uk/.\*](https://www.soas.ac.uk/.*)

Excluded URLs For Crawling |  
._.mp3._.min.css._._.css._.css._._.js._.jpg._.jpeg._.JPEG._.JPG._.png._.xml._.rss._-rss-._._.json._.ico.\*.zip

Included URLs For Indexing |

Excluded URLs For Indexing | [https://www.soas.ac.uk/util/eventscrawler](https://www.soas.ac.uk/util/eventscrawler)._.mp3._.min.css._._.css._.css._._.js._.jpg._.jpeg._.JPEG._.JPG._.png._.xml._.rss._-rss-._._.json._.ico.\*.zip

Config Parameters |

Depth | 1

Max Access Count |

User Agent | Mozilla/5.0 (compatible; Fess +SOAS Events)

The number of Thread | 8

Interval time | 1000 ms

Boost | 1.0

Permissions | {role}guest

Virtual Hosts |

Label | Events SOAS Website

Status | Enabled

---

<div class="post-metadata">

**Author:** ![discuss](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/discuss/32/298_2.png) [@discuss](https://discuss.codelibs.org/u/discuss)\
**Post date:** [January 21, 2019, 9:32pm UTC](https://discuss.codelibs.org/t/no-results-for-crawling-a-page-of-links/772/2 "2019-01-21T21:32:05Z")

</div>

(from [github.com/marevol](http://github.com/marevol))  
Check fess-crawler.log.

---

<div class="post-metadata">

**Author:** ![discuss](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/discuss/32/298_2.png) [@discuss](https://discuss.codelibs.org/u/discuss)\
**Post date:** [January 23, 2019, 11:07am UTC](https://discuss.codelibs.org/t/no-results-for-crawling-a-page-of-links/772/3 "2019-01-23T11:07:26Z")

</div>

(from [github.com/DuncanFranklin](http://github.com/DuncanFranklin))  
Searching for event in the fess-crawler.log I found these lines

2019-01-22 04:00:07,008 [WebFsCrawler] INFO Excluded URL: ._events._  
2019-01-22 04:00:07,456 [WebFsCrawler] INFO Target URL: [https://www.soas.ac.uk/util/eventscrawler](https://www.soas.ac.uk/util/eventscrawler)  
2019-01-22 04:00:07,458 [WebFsCrawler] INFO Excluded URL from failures: \Qhttps://www.soas.ac.uk/util/eventscrawler\E

Do you know what might be wrong?

---

<div class="post-metadata">

**Author:** ![discuss](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/discuss/32/298_2.png) [@discuss](https://discuss.codelibs.org/u/discuss)\
**Post date:** [January 23, 2019, 8:59pm UTC](https://discuss.codelibs.org/t/no-results-for-crawling-a-page-of-links/772/4 "2019-01-23T20:59:19Z")

</div>

(from [github.com/marevol](http://github.com/marevol))  
Remove logs in [Failure URL](https://fess.codelibs.org/12.4/admin/failureurl-guide.html).

---

<div class="post-metadata">

**Author:** ![discuss](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/discuss/32/298_2.png) [@discuss](https://discuss.codelibs.org/u/discuss)\
**Post date:** [January 24, 2019, 11:07am UTC](https://discuss.codelibs.org/t/no-results-for-crawling-a-page-of-links/772/5 "2019-01-24T11:07:05Z")

</div>

(from [github.com/DuncanFranklin](http://github.com/DuncanFranklin))  
I deleted the logs in Failure URL.

The error for this page says

| ID | mCQ\_fmgBl8hq3\_2dl26o |
| --- | --- |
| URL | [https://www.soas.ac.uk/util/eventscrawler](https://www.soas.ac.uk/util/eventscrawler) |

Thread name | Crawler-20190124040000-19-7

Type | org.codelibs.fess.crawler.exception.MaxLengthExceededException

Log | org.codelibs.fess.crawler.exception.MaxLengthExceededException: The content length (2643693 byte) is over 2621440 byte. The url is [https://www.soas.ac.uk/util/eventscrawler](https://www.soas.ac.uk/util/eventscrawler)  
at org.codelibs.fess.crawler.client.http.HcHttpClient.processHttpMethod(HcHttpClient.java:765)  
at org.codelibs.fess.crawler.client.http.HcHttpClient.doHttpMethod(HcHttpClient.java:623)  
at org.codelibs.fess.crawler.client.http.HcHttpClient.doGet(HcHttpClient.java:582)  
at org.codelibs.fess.crawler.client.AbstractCrawlerClient.execute(AbstractCrawlerClient.java:142)  
at org.codelibs.fess.crawler.client.FaultTolerantClient.execute(FaultTolerantClient.java:67)  
at org.codelibs.fess.crawler.CrawlerThread.run(CrawlerThread.java:164)  
at java.lang.Thread.run(Thread.java:745)

Error Count | 1

Last Access | 1548306323368

What should I do next?

---

<div class="post-metadata">

**Author:** ![discuss](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/discuss/32/298_2.png) [@discuss](https://discuss.codelibs.org/u/discuss)\
**Post date:** [January 24, 2019, 12:48pm UTC](https://discuss.codelibs.org/t/no-results-for-crawling-a-page-of-links/772/6 "2019-01-24T12:48:59Z")

</div>

(from [marevol (Shinsuke Sugaya) · GitHub](http://github.com/marevol))

> The content length (2643693 byte) is over 2621440 byte.

The size of the crawled file is too large.  
To change the upper bound, you can modify it in [contentlength.xml](https://github.com/codelibs/fess/blob/fess-12.4.3/src/main/resources/crawler/contentlength.xml#L12).

---

<div class="post-metadata">

**Author:** ![discuss](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/discuss/32/298_2.png) [@discuss](https://discuss.codelibs.org/u/discuss)\
**Post date:** [January 31, 2019, 1:29pm UTC](https://discuss.codelibs.org/t/no-results-for-crawling-a-page-of-links/772/7 "2019-01-31T13:29:05Z")

</div>

(from [github.com/DuncanFranklin](http://github.com/DuncanFranklin))  
Hi there,  
modifying it in contentlength.xml worked, but now there is another error stopping things from being crawled. It looks like there are too many results to index.  
What can I do to fix this - this is to label all of the events we have at university, the number of events will increase every day.  
Would it be possible to create multiple versions of [https://www.soas.ac.uk/util/eventscrawler](https://www.soas.ac.uk/util/eventscrawler) one for each year so that there are far fewer events listed on each and have them all being labelled as events?  
I am also stopping anything with _/events/_ being crawled by the main web crawler - this would block most events from being indexed but if I removed this I presume most events would be shown in the main search but obviously not with the events label. If I did this and fixed the events labelling would that work?

| ID | gCXXkmgBl8hq3\_2dB3u3 |
| --- | --- |
| Thread name | URL |

Crawler-20190130040000-19-8  
Type | org.codelibs.fess.exception.InvalidQueryException  
Log | org.codelibs.fess.exception.InvalidQueryException: Invalid query: {“size”:10681,“timeout”:“10000ms”,“query”:{“term”:{“parent\_id”:{“value”:“https:%2F%[2Fwww.soas.ac.uk](http://2Fwww.soas.ac.uk)%2Futil%2Feventscrawler;role=Rguest”,“boost”:1.0}}},"\_source":{“includes”:[“url”],“excludes”:[]}}at org.codelibs.fess.es.client.FessEsClient.search(FessEsClient.java:703)at org.codelibs.fess.es.client.FessEsClient.getDocumentList(FessEsClient.java:784)at org.codelibs.fess.es.client.FessEsClient.getDocumentList(FessEsClient.java:758)at org.codelibs.fess.helper.IndexingHelper.getDocumentListByQuery(IndexingHelper.java:192)at org.codelibs.fess.helper.IndexingHelper.getChildDocumentList(IndexingHelper.java:179)at org.codelibs.fess.crawler.FessCrawlerThread.getChildUrlSet(FessCrawlerThread.java:235)at org.codelibs.fess.crawler.FessCrawlerThread.isContentUpdated(FessCrawlerThread.java:124)at org.codelibs.fess.crawler.CrawlerThread.run(CrawlerThread.java:155)at java.lang.Thread.run(Thread.java:745)Caused by: Failed to execute phase [query], all shards failed; shardFailures {[TRpYmpykSxSnrDpM3qsPrQ][fess.20180105][0]: RemoteTransportException[[master-data-node-1][127.0.0.1:9300][indices:data/read/search[phase/query]]]; nested: QueryPhaseExecutionException[Result window is too large, from + size must be less than or equal to: [10000] but was [10681]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max\_result\_window] index level setting.]; }{[TRpYmpykSxSnrDpM3qsPrQ][fess.20180105][1]: RemoteTransportException[[master-data-node-1][127.0.0.1:9300][indices:data/read/search[phase/query]]]; nested: QueryPhaseExecutionException[Result window is too large, from + size must be less than or equal to: [10000] but was [10681]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max\_result\_window] index level setting.]; }{[TRpYmpykSxSnrDpM3qsPrQ][fess.20180105][2]: RemoteTransportException[[master-data-node-1][127.0.0.1:9300][indices:data/read/search[phase/query]]]; nested: QueryPhaseExecutionException[Result window is too large, from + size must be less than or equal to: [10000] but was [10681]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max\_result\_window] index level setting.]; }{[TRpYmpykSxSnrDpM3qsPrQ][fess.20180105][3]: RemoteTransportException[[master-data-node-1][127.0.0.1:9300][indices:data/read/search[phase/query]]]; nested: QueryPhaseExecutionException[Result window is too large, from + size must be less than or equal to: [10000] but was [10681]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max\_result\_window] index level setting.]; }{[TRpYmpykSxSnrDpM3qsPrQ][fess.20180105][4]: RemoteTransportException[[master-data-node-1][127.0.0.1:9300][indices:data/read/search[phase/query]]]; nested: QueryPhaseExecutionException[Result window is too large, from + size must be less than or equal to: [10000] but was [10681]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max\_result\_window] index level setting.]; }at org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseFailure(AbstractSearchAsyncAction.java:274)at org.elasticsearch.action.search.AbstractSearchAsyncAction.executeNextPhase(AbstractSearchAsyncAction.java:132)at org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseDone(AbstractSearchAsyncAction.java:243)at org.elasticsearch.action.search.InitialSearchPhase.onShardFailure(InitialSearchPhase.java:107)at org.elasticsearch.action.search.InitialSearchPhase.access$100(InitialSearchPhase.java:49)at org.elasticsearch.action.search.InitialSearchPhase$2.lambda$onFailure$1(InitialSearchPhase.java:217)at org.elasticsearch.action.search.InitialSearchPhase.maybeFork(InitialSearchPhase.java:171…  
Error Count | 2  
Last Access | 1548824644523

---

<div class="post-metadata">

**Author:** ![discuss](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/discuss/32/298_2.png) [@discuss](https://discuss.codelibs.org/u/discuss)\
**Post date:** [February 1, 2019, 1:42pm UTC](https://discuss.codelibs.org/t/no-results-for-crawling-a-page-of-links/772/8 "2019-02-01T13:42:43Z")

</div>

(from [github.com/marevol](http://github.com/marevol))  
See [https://stackoverflow.com/questions/41677198/result-window-is-too-large-from-size-must-be-less-than-or-equal-to-10000-b](https://stackoverflow.com/questions/41677198/result-window-is-too-large-from-size-must-be-less-than-or-equal-to-10000-b)
