You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2008/04/01 03:28:24 UTC

[jira] Commented: (SOLR-521) Allow StopFilterFactory to use StopFilter setEnablePositionIncrementsDefault function

    [ https://issues.apache.org/jira/browse/SOLR-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583963#action_12583963 ] 

Hoss Man commented on SOLR-521:
-------------------------------

it would probably be better to use StopFilter.setEnablePositionIncrements instead of the version that changes the global variable.

> Allow StopFilterFactory to use StopFilter setEnablePositionIncrementsDefault function
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-521
>                 URL: https://issues.apache.org/jira/browse/SOLR-521
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Walter Ferrara
>            Priority: Trivial
>             Fix For: 1.3
>
>         Attachments: stopfilter.patch
>
>
> Lucene StopFilter has a function, setEnablePositionIncrementsDefault,  that when set, "when a token is stopped (omitted), the position increment of the following token is incremented". Solr however have no setting in schema.xml to activate this

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