jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Java Prog" <javapri...@gmail.com>
Subject Re: Filters for indexing XML and HTML
Date Mon, 30 Oct 2006 13:46:41 GMT
Thank you Marcel.
This has indeed solved my problem with XML filtering.
However HTML has different issue:
in org.apache.jackrabbit.core.query.HTMLParser.java

in method filterAndJoin, there is a line:

                if (!Character.isLetter(c)) {

that actually filters out numbers. I have changed it to

                if (!Character.isLetterOrDigit(c)) {

and it works ok. I am not sure why only letters were allowed
to be indexed? Is there something that I am missing?

Thank you!

On 10/26/06, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:
> Hi Milan,
> this might be due to this issue:
> http://issues.apache.org/jira/browse/JCR-587
> try building the text-filter jar using the current sources in trunk and re-index
> the workspace with the newly deployed jar.
> regards
>   marcel

View raw message