jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: some troubles with search
Date Thu, 23 Mar 2006 09:04:00 GMT
Paco Avila wrote:
> Now works: I've to modify SearchIndex.java and add the other text
> filters to DEFAULT_TEXT_FILTERS:
> 
> /**
>  * Default text filters.
>  */
> public static final String DEFAULT_TEXT_FILTERS =
> TextPlainTextFilter.class.getName()+
> ",org.apache.jackrabbit.core.query.PdfTextFilter,org.apache.jackrabbit.core.query.MsWordTextFilter"+
> ",org.apache.jackrabbit.core.query.OpenOfficeTextFilter";
> 
> Is this the right way? I don't think this is a good practice :(

no, not really ;)

there is a configuration parameter that allows you to set the various 
text filters.

See also a previous thread:
http://article.gmane.org/gmane.comp.apache.jackrabbit.devel/6140

regards
  marcel

Mime
View raw message