lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Cecere <john.cec...@oracle.com>
Subject Re: Case sensitivity
Date Fri, 19 Sep 2014 13:50:58 GMT
I've considered this, but there are two problems with it. First of all, it feels like I'm still
taking up twice the storage, I'm 
just doing it using a single index rather than two of them. This doesn't sound like it's buying
me anything.

The second problem with this is simply that I haven't figured out how to do this. I assume
in creating two fields you would 
implement two separate analyzers on them, one using LowerCaseFilter and the other not. I haven't
made the connection on how to tie 
an Analyzer to a particular field. It seems to be tied to the IndexWriterConfig and the IndexWriter.

Thanks,
John

On 9/19/14 9:36 AM, Paul Libbrecht wrote:
> two fields?
>
> paul
>
>
> On 19 sept. 2014, at 15:07, John Cecere <john.cecere@oracle.com> wrote:
>
>> Is there a way to set up Lucene so that both case-sensitive and case-insensitive
searches can be done without having to generate two indexes?
>>
>> --
>> John Cecere
>> Principal Engineer - Oracle Corporation
>> 732-987-4317 / john.cecere@oracle.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

-- 
John Cecere
Principal Engineer - Oracle Corporation
732-987-4317 / john.cecere@oracle.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message