You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/03/16 20:14:13 UTC

[jira] [Resolved] (SOLR-1118) InsertPrefixTokenFilterFactory and InsertSuffixTokenFilterFactory

     [ https://issues.apache.org/jira/browse/SOLR-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson resolved SOLR-1118.
----------------------------------


SPRING_CLEANING_2013. We can reopen if there's interest.
                
> InsertPrefixTokenFilterFactory and InsertSuffixTokenFilterFactory
> -----------------------------------------------------------------
>
>                 Key: SOLR-1118
>                 URL: https://issues.apache.org/jira/browse/SOLR-1118
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>    Affects Versions: 1.3
>            Reporter: Karl Wettin
>         Attachments: SOLR-1118.txt
>
>
> {code}
> /**
>  * Inserts a single token as prefix to the stream.
>  * Useful to increase precision/recall of shingles located in the very begining of a stream.
>  *
>  * Accept the following arguments:
>  *
>  *   type: token type value of the prefix token
>  * 
>  *   text: text value of the prefix token
>  *
>  *   positionIncrement: positionIncrement of the prefix token.
>  *
>  *   trailingPositionIncrement: position increment of the first token in the input stream,
>  *                              given the position increment of that token is set to 0.
>  *
>  * @see InsertSuffixTokenFilterFactory
>  */
> public class InsertPrefixTokenFilterFactory extends BaseTokenFilterFactory {
> {code}
> {code}
> /**
>  * Inserts a single token as a suffix in the stream.
>  * Useful to increase precision/recall of shingles located in the very end of a stream.
>  *
>  * Accept the following arguments:
>  *
>  *   type: token type value of the suffix token
>  *
>  *   text: text value of the suffix token
>  *
>  *   positionIncrement: position increment of the suffix token.
>  *
>  *
>  * @see InsertPrefixTokenFilterFactory
>  */
> public class InsertSuffixTokenFilterFactory extends BaseTokenFilterFactory {
> {code}

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org