lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lucene User <>
Subject Searching Special Characters
Date Tue, 15 Nov 2005 15:59:50 GMT

Our index contains articles with special characters. For instance, the
string P&O is indexed as P&#38;O. The correct entity codes are indexed
for all the special characters we use.

My question is that a typical user searching for the above will enter
P&O but that will not match P&#38;O.

I know I could replace & for &#38; but this did not work either and I
don't think it's the best solution even if it did.

The search String looked like

I would like to extend any functionality to all special chars, for
example to single quote (&#8217;)

They're indexed using StandardAnalyzer

Any advice?


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

View raw message