What you are missing is that the analysis page shows what happens when the text is run through analysis. Wildcards ARE NOT ANALYZED, so you cannot assume that the analysis page shows you what the search terms in that case. Regardless of whether george* is shown in the analysis page, the term searched will be George*, capitalized, and not found.
Pre-process your wildcards to lowercase them all is the easiest solution, as Ahmet said. Best Erick On Tue, Feb 8, 2011 at 8:04 AM, Mark Fletcher <mark.fletcher2...@gmail.com>wrote: > Hi Sawas, > > Thank you for the reply. > > In the analysis screen (screen shots attached) *George* is finally stored > as *george.* > Also the keyword which I use for search later namely *George* *is > finally analyzed as *george* and *george** > Both there are depicted in the screen shots (index as well as query > analyzers). If one of the index terms is finally *george* and if one of > the query terms is also finally *george *why is it that a match is not > found. > > I am not sending the mail to the group as I am not sure whether I am > missing something basic which I am supposed to know here. I believe both the > index and query analyser are having the same set of tokenizers and filters > (pls refer the analysis attachment) > > Thanks for your time. > > BR, > Mark. > > > > On Sun, Jan 30, 2011 at 2:13 PM, Savvas-Andreas Moysidis < > savvas.andreas.moysi...@googlemail.com> wrote: > >> Hi Mark, >> >> "When I indexed *George *it was also finally analyzed and stored as >> *george* >> Theny why is it that I don't get a match as per the analysis report I had" >> >> your indexed term is george but you search for George* which does not go >> through the same analysis process as it did when it was indexed. So, since >> the terms you are searching for are not >> lowercased you are trying to find something that starts with George >> (capital >> G) which doesn't exist in you index. >> >> If you are not "hitting" Solr directly, maybe you can lowercase you input >> text before feeding it to Solr? >> >> On 30 January 2011 16:38, Mark Fletcher <mark.fletcher2...@gmail.com> >> wrote: >> >> > Hi Ahmet, >> > >> > Thanks for the reply. >> > >> > I had attached the Analysis report of the query George* >> > >> > It is found to be split into terms *George** and *George* by the >> > WordDelimiterFilterFactory and the LowerCaseFilterFactory converts it to >> * >> > george** and *george* >> > >> > When I indexed *George *it was also finally analyzed and stored as >> *george* >> > Theny why is it that I don't get a match as per the analysis report I >> had >> > attached in my previous mail. >> > >> > Or Am I missing something basic here? >> > >> > Many Thanks. >> > >> > M >> > On Sun, Jan 30, 2011 at 4:34 AM, Ahmet Arslan <iori...@yahoo.com> >> wrote: >> > >> > > >> > > :When i try george* I get results. Whereas George* fetches no results. >> > > >> > > >> > > Wildcard queries are not analyzed by QueryParser. >> > > >> > > >> > > >> > > >> > > >> > >> > >