lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (SOLR-1535) Pre-analyzed field type
Date Fri, 11 May 2012 19:20:50 GMT

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

Andrzej Bialecki  edited comment on SOLR-1535 at 5/11/12 7:20 PM:
------------------------------------------------------------------

Hoss was wrong :) there is no way to do this, as there is no way to do this in TokenStream
- you should view the PreAnalyzed field type as a serialized TokenStream (with the added functionality
to specify the stored part independently).

Edit: I started adding some documentation to http://wiki.apache.org/solr/PreAnalyzedField
.
                
      was (Author: ab):
    Hoss was wrong :) there is no way to do this, as there is no way to do this in TokenStream
- you should view the PreAnalyzed field type as a serialized TokenStream (with the added functionality
to specify the stored part independently).
                  
> Pre-analyzed field type
> -----------------------
>
>                 Key: SOLR-1535
>                 URL: https://issues.apache.org/jira/browse/SOLR-1535
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 1.5
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>             Fix For: 4.0
>
>         Attachments: SOLR-1535.patch, SOLR-1535.patch, SOLR-1535.patch, preanalyzed.patch,
preanalyzed.patch
>
>
> PreAnalyzedFieldType provides a functionality to index (and optionally store) content
that was already processed and split into tokens using some external processing chain. This
implementation defines a serialization format for sending tokens with any currently supported
Attributes (eg. type, posIncr, payload, ...). This data is de-serialized into a regular TokenStream
that is returned in Field.tokenStreamValue() and thus added to the index as index terms, and
optionally a stored part that is returned in Field.stringValue() and is then added as a stored
value of the field.
> This field type is useful for integrating Solr with existing text-processing pipelines,
such as third-party NLP systems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


Mime
View raw message