lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <>
Subject [jira] Commented: (LUCENE-580) Pre-analyzed fields
Date Wed, 25 Apr 2007 08:23:15 GMT


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?


> Pre-analyzed fields
> -------------------
>                 Key: LUCENE-580
>                 URL:
>             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:
For additional commands, e-mail:

View raw message