lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Kan <solrexp...@gmail.com>
Subject Re: WordDelimiterFilterFactory and position increment.
Date Fri, 30 Jan 2015 11:42:24 GMT
Hi,

Do you use WordDelimiterFilter on query side as well?

On Fri, Jan 30, 2015 at 12:51 PM, Modassar Ather <modather1981@gmail.com>
wrote:

> Hi,
>
> An insight in the behavior of WordDelimiterFilter will be very helpful.
> Please share your inputs.
>
> Thanks,
> Modassar
>
> On Thu, Jan 22, 2015 at 2:54 PM, Modassar Ather <modather1981@gmail.com>
> wrote:
>
> > Hi,
> >
> > I am using WordDelimiterFilter while indexing. Parser used is edismax.
> > Phrase search is failing for terms like "3d image".
> >
> > On the analysis page it shows following four tokens for *3d* and there
> > positions.
> >
> > *token          position*
> > 3d               1
> > 3                 1
> > 3d               1
> > d                 2
> >
> > image         3
> >
> > Here the token d is at position 2 which per my understanding causes the
> > phrase search "3d image" fail.
> > "3d image"~1 works fine. Same behavior is present for "wi-fi device" and
> > other few queries starting with token which is tokenized as shown above
> in
> > the table.
> >
> > Kindly help me understand the behavior and let me know how the phrase
> > search is possible in such cases without the slop.
> >
> > Thanks,
> > Modassar
> >
> >
> >
>



-- 
Dmitry Kan
Luke Toolbox: http://github.com/DmitryKey/luke
Blog: http://dmitrykan.blogspot.com
Twitter: http://twitter.com/dmitrykan
SemanticAnalyzer: www.semanticanalyzer.info

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message