jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mueller <muel...@adobe.com>
Subject Re: Reindexing Jackrabbit
Date Mon, 21 Jul 2014 10:44:37 GMT
Hi,

For Jackrabbit 2.x, what you could do as an alternative is "touch" all
nodes in the repository, so that the index is updated.

Please note superfluous entries are not removed that way, but that's not a
problem usually (it doesn't affect the query result).

Regards,
Thomas




On 15/07/14 16:05, "Dolan, Kelly" <kdolan@inmedius.com> wrote:

>I found this wiki page
>(http://wiki.apache.org/jackrabbit/Search#Rebuilding_the_Index) that
>basically states if an index becomes inconsistent, delete it and restart
>JR and it will be rebuilt. We have customers with a ton of data in the
>repository which can take hours/days to rebuild. This is unacceptable for
>those who insist on downtimes of no more than an hour or two.
>
>What are options we can pursue? Is there another way to fix the index, or
>re-index only a subset?
>
>We are currently using JR 2.6.3 but are considering the possibility of
>upgrading to Oak. Are more options available if we do that?  Our current
>configuration is below...
>
><?xml version="1.0" encoding="UTF-8"?>
><Workspace name="default">
>        <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem">
>...
>        </FileSystem>
>        <PersistenceManager
>class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
>...
>        </PersistenceManager>
>        <SearchIndex
>class="com.inmedius.horizon.jackrabbit.core.query.lucene.ExtendedSearchInd
>ex">
>          <param name="path" value="${wsp.home}/index"/>
>          <param name="useCompoundFile" value="true"/>
>          <param name="minMergeDocs" value="100"/>
>          <param name="volatileIdleTime" value="3"/>
>          <param name="maxMergeDocs" value="100000"/>
>          <param name="mergeFactor" value="10"/>
>          <param name="maxFieldLength" value="10000"/>
>          <param name="bufferSize" value="10"/>
>          <param name="cacheSize" value="1000"/>
>          <param name="forceConsistencyCheck" value="false"/>
>          <param name="autoRepair" value="true"/>
>          <param name="analyzer"
>value="org.apache.lucene.analysis.standard.StandardAnalyzer"/>
>          <param name="queryClass"
>value="org.apache.jackrabbit.core.query.QueryImpl"/>
>          <param name="respectDocumentOrder" value="true"/>
>          <param name="resultFetchSize" value="2147483647"/>
>          <param name="extractorPoolSize" value="5"/>
>          <param name="extractorTimeout" value="5000"/>
>          <param name="extractorBackLogSize" value="100"/>
>                                  <param name="textFilterClasses"
>value=""/>
>        </SearchIndex>
>    </Workspace>
>
>
>Thanks,
>Kelly
>
>--
>Kelly E. Dolan, Software Architect
>Inmedius, a Boeing Company | www.inmedius.com<http://www.inmedius.com>
>P: 412-459-0310 x211 | F: 412-459-0311
>


Mime
View raw message