Hi Robert, > On Fri, Sep 24, 2010 at 3:54 AM, Mathias Walter <mathias.wal...@gmx.net>wrote: > > > Hi, > > > > I'm combined the WordDelimiterFilter with the PositionFilter to prevent the > > creation of expensive Phrase and MultiPhraseQueries. But > > if I now parse an escaped string consisting of two terms, the analyser > > returns a BooleanQuery. That's not what I would expect. If a > > string is escaped, I would expect a PhraseQuery and not a BooleanQuery. > > > > What should be the correct behavior? > > > > > instead of PositionFilter, you can upgrade to either trunk or branch_3x from > svn, and use: > > <fieldType name="text" class="solr.TextField" positionIncrementGap="100" > autoGeneratePhraseQueries="false"> > > then you will get phrase queries when the user asked for them, but not > automatically.
Are term vector positions still correctly computed if positionIncrementGap is used? -- Kind regards, Mathias