You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Subhrajyoti Moitra <su...@contata.co.in> on 2003/05/28 09:10:07 UTC
wild card search problem
Hi list,
I am having a weird problem.
I have a PDF document. Using PDFBox library i get the contents of the PDF file as a String.
This string gets indexed using the StandardAnalyser.
This document contain both "java" and "Java".
When I examin the index that has been created, it shows "java" ONLY not "Java".
Now i am doing a wild card search on it.
Eg: ja*
I get the right result (which is the above document).
But when i search for "Ja*", i get nothing.
shouldnt this also throw the above document as a result??
probably i am missing out something.
Please help...
thanks in advance
subhro
Re: wild card search problem
Posted by Victor Hadianto <vi...@nuix.com.au>.
> This document contain both "java" and "Java".
> When I examin the index that has been created, it shows "java" ONLY not
> "Java".
Yes, that's because StandardAnalyser contains a LowerCaseFilter that will
change all your token into lower case characters.
> subhro
Victor Hadianto
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org