Why did you reject using synonyms? You can have multi-word synonyms just fine at index time, and at query time, since the multiple words are already substituted in the index you don't need to do the same substitution, just query the raw strings.
I freely acknowledge you may have very good reasons for doing this yourself, I'm just making sure you know what's already there. See: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory Look particularly at the explanations for "sea biscuit" in that section. Best, Erick On Mon, Oct 28, 2013 at 3:47 AM, Parvesh Garg <parv...@zettata.com> wrote: > One more thing, Is there a way to remove my "accidentally sent phone number > in the signature" from the previous mail? aarrrggghhh >