Re: Lucene IOException

HENRY Pierre <[email protected]> Mon, 23 Jun 2008 09:01:42 +0200
Newsgroups gmane.comp.cms.jahia.install
Message-ID <[email protected]>
Hi Sergiy,

Thanks a lot for your answer (and thanks to C=E9dric as well)!

As we don't use the Lucene search engine (we use a google CSE instead, so t=
hat we can search on all the virtual sites and some other non jahia serves =
on the same page), would it be possible to just deactivate the periodic ind=
exing ? Otherwise, would there be a way to trigger the full virtual site in=
dexing automatically with a script or something else ?

The problem here is that we have over 200 virtual sites so to do this manua=
lly would be quite time consuming (and boring!).

Kinf regards,

Pierre Henry

-----Message d'origine-----
De : [email protected] [mailto:[email protected]]=
 De la part de Sergiy Shyrkov
Envoy=E9 : samedi, 21. juin 2008 12:49
=C0 : In this list you can send questions and discuss installation problems=
 as well as suggest installation improvements.
Objet : Re: [install_list] Lucene IOException

Hello Pierre,

this exception indicates corrupted Lucene index.
There are two possibilities:
1) As a 'root' user in the Jahia Administration UI --> Site Settings --> Ma=
nage search engine --> Netx step --> OK you can trigger full virtual site r=
eindexing (please repeat the procedure for each of your sites).
2) If the first solution will not help, please stop the Jahia server, delet=
e the content of the search indexes directory (by default it is under <jahi=
a-web-app-dir>/WEB-INF/var/search_indexes), start the Jahia server again an=
d trigger the full virtual site indexing (as described in point 1)).

Kind regards
Sergiy

HENRY Pierre schrieb:
> Hi !
>
> Since a few days, I get the following Exception from time to time in my p=
roduction Jahia instance.
>
> It has no apparent effets on the working of the site. We don't use the Lu=
cene search engine.
>
> Still it can't be good...
>
> It looks like a file must be corrupt or something ?
>
> Any help on this welcome !
>
> 647908 [Background content indexing] ERROR - Error while optimizing
> index
> java.io.IOException: read past EOF
>         at org.apache.lucene.store.FSInputStream.readInternal(FSDirectory=
.java:422)
>         at org.apache.lucene.store.InputStream.readBytes(InputStream.java=
:61)
>         at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java=
:356)
>         at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java=
:323)
>         at org.apache.lucene.index.SegmentMerger.mergeNorms(SegmentMerger=
.java:422)
>         at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java=
:94)
>         at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.=
java:487)
>         at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:=
366)
>         at org.jahia.services.search.JahiaSearchBaseService.optimizeIndex=
(JahiaSearchBaseService.java:1019)
>         at org.jahia.services.search.JahiaSearchBaseService.optimizeAllIn=
dexes(JahiaSearchBaseService.java:1265)
>         at org.jahia.services.search.JahiaSearchBaseService.run(JahiaSear=
chBaseService.java:1228)
>         at java.lang.Thread.run()V(Unknown Source)
>
>
> Best regards,
>
> Pierre Henry
> _______________________________________________
> install_list mailing list
> [email protected]
> http://lists.jahia.org/cgi-bin/mailman/listinfo/install_list
>

_______________________________________________
install_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/install_list
_______________________________________________
install_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/install_list