On Aug 18, 2005, at 3:50 PM, [EMAIL PROTECTED] wrote:
Is there any way to do a case-sensitive search?

All Lucene searches are case-sensitive, actually.

But most often a lowercasing analyzer is used. So the trick is to change the analysis process to not lowercase. It gets more fun when you need case sensitive or insensitive searching both in the same situation, where the trick is to either build two different indexes or to use different fields that use different analysis on the same text (though this gets tricky with QueryParser generated queries and the potential for user field selection).

    Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to