Re: Analyzer creates PhraseQuery

2011-06-28 Thread entdeveloper
Thanks guys. Both the PositionFilterFactory and the autoGeneratePhraseQueries=false solutions solved the issue. -- View this message in context: http://lucene.472066.n3.nabble.com/Analyzer-creates-PhraseQuery-tp3116288p3118471.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Analyzer creates PhraseQuery

2011-06-28 Thread Koji Sekiguchi
(11/06/28 16:40), lboutros wrote: You could add this filter after the NGram filter to prevent the phrase query creation : http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PositionFilterFactory Ludovic. There is an option to avoid producing phrase queries, autoGeneratePhraseQu

Re: Analyzer creates PhraseQuery

2011-06-28 Thread lboutros
You could add this filter after the NGram filter to prevent the phrase query creation : http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PositionFilterFactory Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Analyzer-creates

Re: Analyzer creates PhraseQuery

2011-06-27 Thread Sujatha Arun
, and indeed the Solr > > analysis > > tool highlights the matches (see image), so something isn't lining up > > right. > > > > > > > http://lucene.472066.n3.nabble.com/file/n3116288/Screen_shot_2011-06-27_at_7.55.49_PM.png > > > > I

Re: Analyzer creates PhraseQuery

2011-06-27 Thread Mohammad Shariq
> > In case you're wondering, I'm trying to implement a semi-advanced > autocomplete feature that goes beyond using what a simple EdgeNGram > analyzer > could do. > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Analyzer-creates-PhraseQuery-tp3116288p3116288.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Thanks and Regards Mohammad Shariq

Analyzer creates PhraseQuery

2011-06-27 Thread entdeveloper
e you're wondering, I'm trying to implement a semi-advanced autocomplete feature that goes beyond using what a simple EdgeNGram analyzer could do. -- View this message in context: http://lucene.472066.n3.nabble.com/Analyzer-creates-PhraseQuery-tp3116288p3116288.html Sent from the Solr - User mailing list archive at Nabble.com.