Sorry for all I found the solution in the FAQ:

*Are prefix queries case sensitive?* <http://www.jguru.com/faq/view.jsp?EID=538312>
** <http://www.jguru.com/faq/subtopic.jsp?topicID=473821>Yes, unlike other types of Lucene queries, prefix queries are case sensitive. That is because prefix queries are not passed through the Analyzer...

Well that was a rhetorical question... :-)

ps - the FAQ should be in the releases, I hate this 'over the night' dial-uping at home and searching on the internet... :-(

Hello all,

I have a small problem. Let`s have a word 'Microsoft' indexed in Lucene. When I query Microsoft, it returns the document, but when I try Micro* then nothing is found. After lowercasing the first letter to micro* Lucene returns the document.

The same thing is with ?. When I use it, only lower-cased words are matched.

Is this a bug or Am I missing something?

ps - where can I find some information how Lucene parse the input when using StandardFilter. I mean I don`t know what is ignored and what not. For example acronyms (U.S.A), dates (2002-11-07 or 1. 1. 2003) etc... I cannot find it in the documentation. In the StandardFilter API there is onthing, it seems to be generated from JavaCC.


--
Lukas Zapletal      [[EMAIL PROTECTED]]
http://www.tanecni-olomouc.cz/lzap




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

Reply via email to