Hi Hoss, I am sorry but I did not understand this part: The reason name:AR* doesn't work (but name:ARIZONA does) is because when you are doing prefix or wildcard searches that "query analysis" can't be used ... for a lot of reasons that are covered in the mailing list archives, and is mentioned in the Lucene Java FAQ...
I understand that by default Solr turns off lowercasing of wildcard searches. That is fine by me. But I'm still at the first question: How do I conduct a wildcard search for ARIZONA on a solr.textField? I tried taking out LowerCaseFilterFactory. That does not really work. It works just fine for Solr.string, not sure why. Does no one use the powerful lucene queries(which includes prefix and wildcard search) from Solr? It has got to be simple :). Thank you for your help. Abin On Jan 11, 2008 5:59 PM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : Thanks for responding. > : The actual data is ARIZONA, and so I have to look for it with the query > AR*. > : I can take out the quotes, but then it doesn't find anything. > > sorry ... i was remembering an earlier email in this thread where you said > you had indexed the text "Arizone" ... but i forgot that you posted your > fieldtype, and that it uses the LowerCaseFilterFactory .. so it really > doesn't matter what case your orriginal dat is in, once it gets indexed > it's lowercase ... Which means you need to serach for name:ar* > > The reason name:AR* doesn't work (but name:ARIZONA does) is because > when you are doing prefix or wildcard searches that "query analysis" can't > be used ... for a lot of reasons that are covered in the mailing list > archives, and is mentioned in the Lucene Java FAQ... > > "Are Wildcard, Prefix, and Fuzzy queries case sensitive?" > > http://wiki.apache.org/lucene-java/LuceneFAQ#head-133cf44dd3dff3680c96c1316a663e881eeac35a > > See also... > http://issues.apache.org/jira/browse/SOLR-218 > http://issues.apache.org/jira/browse/SOLR-219 > > > > -Hoss > >