jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Perez" <mper...@gmail.com>
Subject Re: Re: Fulltext search in jackrabbit
Date Fri, 17 Mar 2006 11:09:56 GMT
I'm using this and it works perfectly:

    <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex
">
          <param name="path" value="${wsp.home}/index"/>
        <param name="textFilterClasses" value="
org.apache.jackrabbit.core.query.MsExcelTextFilter,
org.apache.jackrabbit.core.query.MsPowerPointTextFilter,
org.apache.jackrabbit.core.query.MsWordTextFilter,
org.apache.jackrabbit.core.query.PdfTextFilter,
org.apache.jackrabbit.core.query.HTMLTextFilter,
org.apache.jackrabbit.core.query.XMLTextFilter,
org.apache.jackrabbit.core.query.RTFTextFilter,
org.apache.jackrabbit.core.query.OpenOfficeTextFilter" />

        <!-- These are all default values. You can change them if you want
-->
        <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="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="idleTime" value="-1"/>
        <!-- end of default values -->

        <param name="respectDocumentOrder" value="false"/>
    </SearchIndex>

Note that you also need some dependencies for the textfilters to run: poi,
pdfbox, etc.

Martin

On 3/17/06, hsp <piccinatto@ibest.com.br> wrote:
>
> There is the list of my lib diretory:
> ant-1.5.3.jar                      commons-fileupload.jar
> geronimo-spec-jta-1.0-M1.jar             jcs-1.0-dev.jar
> proxool-0.8.3.jar
> antlr.jar                          commons-lang-2.1.jar
> hibernate2.jar                           jdbc2_0-stdext.jar
>   sentinela_client_1_2_4.jar
> ant-optional-1.5.3.jar             commons-logging-1.0.4.jar  jaas.jar
> jgroups-2.2.7.jar   serializer.jar
> avalon-framework-cvs-20020806.jar  commons-pool-1.2.jar
> jackrabbit-1.0-SNAPSHOT.jar              jstl.jar            standard.jar
> batik.jar                          commons-validator.jar
> jackrabbit-textfilters-1.0-SNAPSHOT.jar  jta.jar             struts.jar
> c3p0-0.8.4.5.jar                   concurrent.jar
> jakarta-oro.jar                          junit-3.8.1.jar
> struts-legacy.jar
> cglib-full-2.0.2.jar               connector.jar
> jasperreports-0.6.4.jar                  log4j-1.2.9.jar
> swarmcache-1.0rc2.jar
> commons-beanutils.jar              derby-10.1.1.0.jar
> jboss-cache.jar                          lucene-1.4.3.jar
> xalan-2.7.0.jar
> commons-codec-1.3.jar              dom4j-1.4.jar
> jboss-common.jar                         natapi_clirmi.jar
> xerces-2.4.0.jar
> commons-collections-3.1.jar        ehcache-0.9.jar
> jboss-jmx.jar                            natutil-1.5.jar
> xercesImpl-2.7.1.jar
> commons-dbcp-1.2.1.jar             fop-0.20.5.jar
> jboss-system.jar                         odmg-3.0.jar
> xml-apis-1.0.b2.jar
> commons-digester.jar               framework_1_0_6.jar        jcr-1.0.jar
>                               oscache-2.0.jar     xmlParserAPIs-2.0.2.jar
>
> I even thougth the jackrabbit-textfilters.....files would have been
> deployed together the jackrabbit files into the o/a/j/../query package to
> solve this issue. Is that some sugestions to solve? Someone have the same
> issue or got the repository to run with this configuration in the
> searchindex?
>
> Thanks
> Helio
>
> >El vie, 17-03-2006 a las 10:41 +0100, Paco Avila escribió:
> >> El vie, 17-03-2006 a las 09:31 +0100, Marcel Reutegger escribió:
> >> > Is it possible that you forgot to put the
> >> > jackrabbit-textfilters-1.0-SNAPSHOT.jar in your classpath?
> >>
> >> I run maven but I can't find the
> >> jackrabbit-textfilters-1.0-SNAPSHOT.jar.
> >
> >ok, it is "maven jar" :P
> >
> >--
> >Paco Avila
> >GIT Consultors
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message