Which release of Solr are you using? Last year (or so) there was a Lucene
change that had the effect of keeping all terms for WDF at the same
position. There was also some discussion about whether this was either a
bug or a bug fix, but I don't recall any resolution.

-- Jack Krupansky

On Thu, Jan 14, 2016 at 4:15 AM, Modassar Ather <modather1...@gmail.com>
wrote:

> Hi,
>
> I have following definition for WordDelimiterFilter.
>
> <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
> generateNumberParts="1" catenateWords="1" catenateNumbers="1"
> catenateAll="1" splitOnCaseChange="1" preserveOriginal="1"/>
>
> The analysis of 3d shows following four tokens and their positions.
>
> token         position
> 3d             1
> 3               1
> 3d             1
> d               2
>
> Please help me understand why d is at 2? Should not it also be at position
> 1.
> Is it a bug and if not is there any attribute which I can use to restrict
> the position increment?
>
> Thanks,
> Modassar
>

Reply via email to