: If I query for 'ferrar*' on my index, I will get 'ferrari' and 'red ferrari' : as a result. And that's fine. But if I try to query for 'red ferrar*', I : have to put it between double quotes as I want to grant that it will be used : as only one term, but the '*' is being ignored, as I don't get any result. : What should be the apropriate query for it?
when you add the double quotes you tell solr that the * should now be treated as a literal, and it's no longer a special character. it is possible to have query structures like what you are interested in, but i don't think it's possible to express it using the Lucene syntax. -Hoss