Is there any way to do a case-sensitive search?
Thanks
Tareque
ControlDOCS
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
Is it possible to do both case-sensitive and non case-sensitive search
on already indexed documents? If not, is there any way to implement it
without making two indexes for each case? Please help me in this regard.
Thanks in advance
Jibu
case).
Otis
--- [EMAIL PROTECTED] wrote:
> Is there any way to do a case-sensitive search?
>
> Thanks
> Tareque
> ControlDOCS
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
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
s like it's case insensitive. In other
> words, don't lower-case your input before indexing, and don't
> lower-case your queries (i.e. pick an Analyzer that doesn't
> lower-case).
>
> Otis
>
>
> --- [EMAIL PROTECTED] wrote:
>
>> Is there any way
nput before indexing, and don't
>> lower-case your queries (i.e. pick an Analyzer that doesn't
>> lower-case).
>>
>> Otis
>>
>>
>> --- [EMAIL PROTECTED] wrote:
>>
>>> Is there any way to do a case-sensitive search?
>>>
&
other
words, don't lower-case your input before indexing, and don't
lower-case your queries (i.e. pick an Analyzer that doesn't
lower-case).
Otis
--- [EMAIL PROTECTED] wrote:
Is there any way to do a case-sensitive searc
re indexing, and don't
>>> lower-case your queries (i.e. pick an Analyzer that doesn't
>>> lower-case).
>>>
>>> Otis
>>>
>>>
>>> --- [EMAIL PROTECTED] wrote:
>>>
>>>
>>>> Is there any way to do a cas
On Thu, 2005-08-18 at 17:16, [EMAIL PROTECTED] wrote:
> Thanks again! The analyzer is working now. But seems like actually the
> QueryParser I am using is probably converting the queries to lowercase
> first. Is there any way to stop that? Here is the line of code where I am
> parsing:
>
> Query q
> On Thu, 2005-08-18 at 17:16, [EMAIL PROTECTED] wrote:
>> Thanks again! The analyzer is working now. But seems like actually the
>> QueryParser I am using is probably converting the queries to lowercase
>> first. Is there any way to stop that? Here is the line of code where I
>> am
>> parsing:
>>
On Aug 18, 2005, at 6:22 PM, [EMAIL PROTECTED] wrote:
On Thu, 2005-08-18 at 17:16, [EMAIL PROTECTED] wrote:
Thanks again! The analyzer is working now. But seems like
actually the
QueryParser I am using is probably converting the queries to
lowercase
first. Is there any way to stop that? He
Case-sensitive search
On Aug 18, 2005, at 6:22 PM, [EMAIL PROTECTED] wrote:
>> On Thu, 2005-08-18 at 17:16, [EMAIL PROTECTED] wrote:
>>
>>> Thanks again! The analyzer is working now. But seems like
>>> actually the
>>> QueryParser I am using is probab
>
> On Aug 18, 2005, at 6:22 PM, [EMAIL PROTECTED] wrote:
>
>>> On Thu, 2005-08-18 at 17:16, [EMAIL PROTECTED] wrote:
>>>
Thanks again! The analyzer is working now. But seems like
actually the
QueryParser I am using is probably converting the queries to
lowercase
first. Is
>>
>> On Aug 18, 2005, at 6:22 PM, [EMAIL PROTECTED] wrote:
>>
On Thu, 2005-08-18 at 17:16, [EMAIL PROTECTED] wrote:
> Thanks again! The analyzer is working now. But seems like
> actually the
> QueryParser I am using is probably converting the queries to
> lowercase
>
You'll need to have two fields in your index, one for case sensitive and
one for case insensitive
HTH
Aviran
http://www.aviransplace.com
Is there any way to index as case-sensitive and then, while searching,
making the search case-sensitive and case-insensitive using the same
index as needed?
On Aug 22, 2005, at 10:40 AM, [EMAIL PROTECTED] wrote:
Is there any way to index as case-sensitive and then, while searching,
making the search case-sensitive and case-insensitive using the
same index
as needed?
Not really. Terms in the index are ordered lexicographically,
including case
4 AM
> To: java-user@lucene.apache.org
> Subject: Re: Case-sensitive search
>
>
> On Aug 22, 2005, at 10:40 AM, [EMAIL PROTECTED] wrote:
> > Is there any way to index as case-sensitive and then, while
> searching,
> > making the search case-sensitive and case-insensitive
rg
Subject: Re: Case-sensitive search
On Aug 22, 2005, at 10:40 AM, [EMAIL PROTECTED] wrote:
Is there any way to index as case-sensitive and then, while
searching,
making the search case-sensitive and case-insensitive using
the same
index as needed?
Not really. Terms in the index a
ge-
> From: Erik Hatcher [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 22, 2005 10:20 AM
> To: java-user@lucene.apache.org
> Subject: Re: Case-sensitive search
>
>
> On Aug 22, 2005, at 11:10 AM, Rajesh Munavalli wrote:
> > You could also treat the case-sensitive
same position or not.
>
> Erik
>
>
>>
>> Rajesh Munavalli
>>
>>
>>> -Original Message-
>>> From: Erik Hatcher [mailto:[EMAIL PROTECTED]
>>> Sent: Monday, August 22, 2005 10:04 AM
>>> To: java-user@lucene.apache.org
>
e is really
no need to even have the case-sensitive parts there in the index or
in the query.
Erik
Rajesh Munavalli
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Monday, August 22, 2005 10:20 AM
To: java-user@lucene.apache.org
Subject: Re: Case-sensit
case queries we don't have to OR the queries.
Rajesh Munavalli
> -Original Message-
> From: Erik Hatcher [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 22, 2005 3:33 PM
> To: java-user@lucene.apache.org
> Subject: Re: Case-sensitive search
>
>
> On Aug 2
On 17 Nov 2005, at 04:27, jibu mathew wrote:
Is it possible to do both case-sensitive and non case-sensitive search
on already indexed documents? If not, is there any way to implement it
without making two indexes for each case? Please help me in this
regard.
On already indexed documents
23 matches
Mail list logo