Re: CommonGrams phrase query

2011-01-17 Thread Salman Akram
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" a

CommonGrams phrase query

2011-01-17 Thread Salman Akram
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".