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 "Karl Wettin (JIRA)" <ji...@apache.org> on 2009/04/16 12:43:15 UTC
[jira] Created: (SOLR-1118) InsertPrefixTokenFilterFactory and
InsertSuffixTokenFilterFactory
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
{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.
[jira] Updated: (SOLR-1118) InsertPrefixTokenFilterFactory and
InsertSuffixTokenFilterFactory
Posted by "Karl Wettin (JIRA)" <ji...@apache.org>.
[ 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.