In Orchard.Core.Common.Handlers.CommonPartHandler you will find this line of code:
If you actually just try to search for the content type (have your Search settings just filtered on "type") you will find you can never actually find anything. The reason (after analyzing the index with Luke.Net) is that the information is stored
with capital letters. Because when you use Orchard search your query is automatically lower-cased, the results never show up. I am proposing this fix
This is working for me, look forward to replies. It is strange to me though as I have other fields being indexed where I am NOT forcing to lower case and the search works fine. However, I am using .Analyze() on the indexed item and am NOT using .Store() so
I wonder if between the two of them it is automatically lower cased - love to hear back from someone who knows.