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

Karl Wettin updated SOLR-1118:
------------------------------

    Attachment: SOLR-1118.txt

> InsertPrefixTokenFilterFactory and InsertSuffixTokenFilterFactory
> -----------------------------------------------------------------
>
>                 Key: SOLR-1118
>                 URL: https://issues.apache.org/jira/browse/SOLR-1118
>             Project: Solr
>          Issue Type: New Feature
>          Components: 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to