lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <karl.wet...@gmail.com>
Subject Re: updating payloads
Date Sun, 04 Jan 2009 00:27:45 GMT
I think it would be nice with little payload modification tool in the  
SVN.


     karl

2 jan 2009 kl. 23.02 skrev Grant Ingersoll:

> I don't think there is any API support for this, but in theory it is  
> possible, as long as you aren't changing the size.  It sounds like  
> it could work for you since you just plan to do it offline after  
> indexing and presumably you don't have anything else going on,  
> right?  I think hacking it is the only way for now.  Someone else  
> might have a better idea, but I confess I haven't thought too much  
> about it.
>
>
> On Dec 31, 2008, at 2:34 PM, Philip Ogren wrote:
>
>> Is it possible to update the payloads of an existing index?  I  
>> having troubles finding any mention of this on the mailing list  
>> archives and it is not obvious that this is possible from the api.   
>> I do not want to change the size of the payloads - just update the  
>> values.  My payloads values depend on values returned from  
>> reader.docFreq().  I don't want to update often - just once - and I  
>> would settle for a very hackish way of doing it if needed.  I  
>> suppose in the worst case scenario I could update the .cfs file  
>> directly - but now I expose my naivety.
>> Any pointers are greatly appreciated.
>>
>> Thanks,
>> Philip
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message