Hi Erik

Is there any way to do a case insensitive search without modifying the
index

Regards and Thanks
Kinnar Kumar Sen
  HCL Technologies Ltd.
  Sec-60, Noida-201301
    Ph: - 09313297423



TO SUCEED BE DIFFERENT BE DARING AND BE THERE FIRST



-----Original Message-----
From: Erick Erickson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 5:59 PM
To: java-user@lucene.apache.org
Subject: Re: Lucene query question

I'll take a quick stab at it. What analyzer are you using with the
query? In
the search page of Luke, near the upper right there's the "Analyzer to
use
for query parsing:" box. You might try the WhitespaceAnalyzer, since
that
shouldn't do anything "interesting". Also, below the search box on the
search page, you can get a lot of information from the "update" and
"explain
structure" buttons.

These make a LOT of lucene's behavior clearer.

Finally, watch out for case. Lucene's comparisons are often
case-sensitive.....

Best
Erick

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

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

Reply via email to