[ 
https://issues.apache.org/jira/browse/LUCENE-4810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13595999#comment-13595999
 ] 

Commit Tag Bot commented on LUCENE-4810:
----------------------------------------

[branch_4x commit] Michael McCandless
http://svn.apache.org/viewvc?view=revision&revision=1453934

LUCENE-4810: don't increment position on every gram (only the first, for a 
given input token) in EdgeNGramTokenizer/Filter

                
> Positions are incremented for each ngram in EdgeNGramTokenFilter
> ----------------------------------------------------------------
>
>                 Key: LUCENE-4810
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4810
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/analysis
>            Reporter: Walter Underwood
>            Assignee: Michael McCandless
>             Fix For: 4.2, 5.0
>
>         Attachments: LUCENE-4810.diff, LUCENE-4810.patch, LUCENE-4810.patch
>
>
> Edge ngrams should be like synonyms, with all the ngrams generated from a 
> token having the same position as that original token. The current code 
> increments position.
> For the text "molecular biology", the query "mol bio" should match as a 
> phrase in neighboring positions. It does not.
> You can see this in the Analysis page in the admin UI.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to