but then you'd have to always be case sensative,
the only way to offer the option of doing both types
of searches is to have duplicate fields.
Nader Henein
-----Original Message-----
From: Ian Lea [mailto:ian@digimem.net]
Sent: Monday, August 05, 2002 3:13 PM
To: Minh Kama Yie
Cc: lucene-user@jakarta.apache.org
Subject: Re: Case sensitivity searching.
StandardAnalyzer uses LowerCaseFilter so is unsuitable
for case sensitive searches. Easiest solution is probably
to create your own analyzer as a copy of StandardAnalyzer
but without LowerCaseFilter.
--
Ian.
ian@digimem.net
> minh@nuix.com.au (Minh Kama Yie) wrote
>
> Hi all,
>
> I'm rather new to lucene so forgive me if the question has been asked:
>
> How do I do case sensitive searches using the StandardAnalyzer to index
and search?
>
> Any help or pointers for the right direciton would be much appreciated.
>
> Thanks in advance.
>
> Regards,
>
> Minh Kama Yie
----------------------------------------------------------------------
Searchable personal storage and archiving from http://www.digimem.net/
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
|