lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Semb Wever (JIRA)" <>
Subject [jira] Updated: (LUCENE-1380) Patch for ShingleFilter.coterminalPositionIncrement
Date Thu, 11 Sep 2008 12:51:45 GMT


Michael Semb Wever updated LUCENE-1380:

    Attachment: LUCENE-1380.patch

New version with option named enablePositions

> Patch for ShingleFilter.coterminalPositionIncrement
> ---------------------------------------------------
>                 Key: LUCENE-1380
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/analyzers
>            Reporter: Michael Semb Wever
>             Fix For: 2.4
>         Attachments: LUCENE-1380.patch
> Make it possible for *all* words and shingles to be placed at the same position.
> Default is to place each shingle at the same position as the unigram (or first shingle
if outputUnigrams=false). That is, each coterminal token has positionIncrement=1 and every
other token a positionIncrement=0. 
> This leads to a MultiPhraseQuery where at least one word/shingle must be matched from
each word/token. This is not always desired. 
> See for mailing list thread.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message