Ok sorry it was my fault. I wasn't using CommonGramsQueryFilter for query, just had Filter for indexing. The query seems fine now.
On Mon, Jan 17, 2011 at 1:44 PM, Salman Akram < salman.ak...@northbaysolutions.net> wrote: > Hi, > > I have made an index using CommonGrams. Now when I query "a b" and explain > it, SOLR makes it +MultiPhraseQuery(Contents:"(a a_b) b"). > > Shouldn't it just be searching "a_b"? I am asking this coz even though I am > using CommonGrams it's much slower than normal index which just searches on > "a b". > > Note: Both words are in the words list of CommonGrams. > > -- > Regards, > > Salman Akram > -- Regards, Salman Akram