lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <>
Subject Re: Payloads
Date Thu, 18 Jan 2007 16:17:20 GMT
Just to put in two cents: the Flexible Indexing thread has also  
talked about the notion of being able to store arbitrary data at:  
token, field, doc and Index level.


On Jan 18, 2007, at 11:01 AM, Nadav Har'El wrote:

> On Thu, Jan 18, 2007, Michael Busch wrote about "Re: Payloads":
>> As you pointed out it is still possible to have per-doc payloads. You
>> need an analyzer which adds just one Token with payload to a specific
>> field for each doc. I understand that this code would be quite  
>> ugly on
>> the app side. A more elegant solution might be LUCENE-580. With that
>> patch you are able to add pre-analyzed fields (i. e. TokenStreams)  
>> to a
>> Document without having to use an analyzer. You could use a  
>> TokenStream
> Thanks, this sounds like a good idea.
> In fact, I could live with something even simpler: I want to be able
> to create a Field with a single token (with its payload). If I need  
> more
> than one of these tokens with payloads, I can just add several  
> fields with
> the same name (this should work, although the description of  
> LUCENE-580
> suggests that it might have a bug in this area).
> I'll add a comment about this use-case to LUCENE-580.
> -- 
> Nadav Har'El                        |     Thursday, Jan 18 2007, 28  
> Tevet 5767
> IBM Haifa Research Lab               
> |-----------------------------------------
>                                     |If glory comes after death,  
> I'm not in a
>           |hurry. (Latin proverb)
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Grant Ingersoll
Center for Natural Language Processing

Read the Lucene Java FAQ at 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message