[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    AW: WordDelimiterFilter combined with PositionFilter
From:       "Mathias Walter" <mathias.walter () gmx ! net>
Date:       2010-09-30 6:56:37
Message-ID: 004001cb606c$a0ba9cf0$e22fd6d0$ () walter () gmx ! net
[Download RAW message or body]

Hi Robert,

> On Fri, Sep 24, 2010 at 3:54 AM, Mathias Walter <mathias.walter@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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic