[ 
https://issues.apache.org/jira/browse/LUCENE-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491555
 ] 

Michael Busch commented on LUCENE-580:
--------------------------------------

Hi Karl,

thank you for your comments and your new patch! I actually updated you initial 
patch a couple of days ago to apply cleanly on the current trunk as I found it 
quite simple and straightforward. 

I have a question regarding the new patch: What kind of use cases do you have 
in mind with the cached field? I would think that a TokenStream will only be 
read once by the DocumentWriter? Currently you can add a field with a Reader, 
and as far as I know is it not guaranteed that a Reader supports reset(), which 
means it can only be read once, too. Thoughts?

Michael

> Pre-analyzed fields
> -------------------
>
>                 Key: LUCENE-580
>                 URL: https://issues.apache.org/jira/browse/LUCENE-580
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Analysis
>    Affects Versions: 1.9
>            Reporter: Karl Wettin
>         Assigned To: Michael Busch
>            Priority: Minor
>         Attachments: preanalyze.tar, trunk.diff
>
>
> Adds the possibility to set a TokenStream at Field constrution time, 
> available as tokenStreamValue in addition to stringValue, readerValue and 
> binaryValue.
> There might be some problems with mixing stored fields with the same name as 
> a field with tokenStreamValue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to