lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Soto" <>
Subject searching for C++
Date Tue, 24 Jun 2008 15:48:13 GMT

I have a problem where I need to search for the term "C++".
If I use StandardAnalyzer, the "+" characters are removed and the
search is done on just the "c" character which is not what is
Yet, I need to use standard analyzer for the other benefits it provides.

I think I need to write a specialized tokenizer (and accompanying
analyzer) that let the "+" characters pass.
I would use the JFlex provided one, modify it and add it to my project.

My question is:

Is there any simpler way to accomplish the same?

Best regards,
Alex Soto

Amicus Plato, sed magis amica veritas.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message