Am Freitag, 26. Januar 2007 14:46 schrieb Claudio Greuter:
> Hi Chris, Thanks for your reply
>
> If I remember correctly the Lucene index is used for searching the
> repositories. As I am not using this functionality, I a now thinking of
> a way to get rid of it. In case this happens again, would it be enough
> to delete the lucene index files or will it mess up the system even
> more?

I am pretty sure it is a bad idea to get rid of index files out from under 
jackrabbit if you have jackrabbit configured such that it expects indexing.

>
> My second question is if it is possible to disable the Lucene index.
>

Yes it is.  Magnolia ships with a number of jackrabbit config files.  except 
for mysql they are paired in search/nosearch versions.  Have a look at the 
difference between jackrabbit-bdb-search.xml and jackrabbit-bdb-nosearch.xml.  
I think you just leave the SearchIndex bit out of the workspace config, and 
you won't have a seachable version anymore.
 
Of course without indexing searchs won't work.  Although you may not 
specifically use queries in your code, things like the search feature of the 
admin app won't work.  Workflow will be affected, as it uses a query to find 
workflow nodes that need action.  I think there is a jsp query tag that 
presumably also won't work.

Speaking for myself, I use queries to get some of content that I display, and 
I find that to be a useful capabilty.  It is hard to imagine data store and 
not queryable in the same sentance.

Cheers,
Chris

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to