I noticed that the generate-thumbnail script make thumbnail of every page of the pdf/office documents.
You can see it in /var/lib/fess/thumbnails/
This is useless because only the first page is supposed to be showed on thumbnails results. And this kill the server, imagine a 300 page document… in fact gs kill the server with this task:
This is a 100% CPU process that last a lot of time.
And then start the process:
convert -thumbnail
and then again gs. And so on back and forth.
A lot of time for a few dozen files.
Also, after this procedure a single thumbnail is visible on search results (of about 60 files crawled).
If I use the chrome developer tool to analize the missing thumbnails, the result is the following:
(from github.com/freestyle68)
YES, now the generate-thumbnail task is very fast and the thumbnails are visible on the search results.
But only for PDF files.
For office files thumbnails aren’t visible.
This is not due to missing thumbnail but to a web config problem: in fact with office docs I cannot see the blank image (img src="/images/noimage.png) usually visible before generate thumbnail job.
This image instead is visible with PDF files before thumbnail job.