[ https://issues.apache.org/jira/browse/SOLR-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747752#action_12747752 ]
Robert Muir commented on SOLR-1362: ----------------------------------- bq. I had implemented the "remove normal posIncr" this morning - just got around to adding a test though. Seems to work - can you see if this matches your expectations? I tested some with this patch some and I like this behavior. bq. I think about it like this: position increments serve two purposes... to signify the normal case of tokens being adjacent to each other, and to separate groups of tokens. In the former case, it makes sense to completely consume the delimiter and keep the resulting tokens next to eachother. In the later case, we want to preserve the logical separation. Yes, I think this fixes the behavior for both purposes. > WordDelimiterFilter position increment bug > ------------------------------------------ > > Key: SOLR-1362 > URL: https://issues.apache.org/jira/browse/SOLR-1362 > Project: Solr > Issue Type: Bug > Components: Analysis > Reporter: Robert Muir > Priority: Minor > Attachments: SOLR-1362.patch, SOLR-1362.patch, SOLR-1362.patch, > SOLR-1362_tests.txt > > > WordDelimiterFilter sometimes assigns high position increment values, which > inhibits phrase matches. > If this is a feature and not a bug please change the issue type, and I will > change the patch to propose this as an option... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.