[ https://issues.apache.org/jira/browse/SOLR-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Walter Ferrara updated SOLR-521: -------------------------------- Attachment: stopfilter.patch This patch add a boolean flag (enablePositionIncrements) for StopFilterTokenizer to use the setEnablePositionIncrementsDefault; after applying the patch you can modify your schema.xml as in: <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true"/> to use the new function. Default value is false. Notice that it acts on the static method StopFilter.setEnablePositionIncrementsDefault. > 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.