You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by John Michael Luy <jm...@gmail.com> on 2007/05/17 13:23:27 UTC

question on reindexing

Hello,

I'm not really a jackrabbit user but i'm using Liferay.
I've got a problem with my Liferay's document library being broken. The 
only thing i can think of is the jackrabbit index is unsynchronized. Is 
there a way to force jackrabbit to reindex? I've seen some posts 
regarding deleting index directories (which i'm not sure what they are).
Can anybody help me?

Thanks in advance,
John

Re: question on reindexing

Posted by Stefan Guggisberg <st...@gmail.com>.
hi john

On 5/17/07, John Michael Luy <jm...@gmail.com> wrote:
> Hello,
>
> I'm not really a jackrabbit user but i'm using Liferay.
> I've got a problem with my Liferay's document library being broken. The
> only thing i can think of is the jackrabbit index is unsynchronized. Is
> there a way to force jackrabbit to reindex? I've seen some posts
> regarding deleting index directories (which i'm not sure what they are).
> Can anybody help me?

first you have to stop the repository.
locate your repository home directory on your disk, it contains the
following subdirectories:

   <rep.home>/repository
   <rep.home>/version
   <rep.home>/workspaces

locate all directories named 'index' in your repository home dir.
you should find at least 2, typically at the following paths:

   <rep.home>/repository/index
   <rep.home>/workspaces/default/index

you can delete those and restart repository. the index be rebuild
automatically on startup.

cheers
stefan

>
> Thanks in advance,
> John
>