lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.com>
Subject Re: Is it possible to update only selected fields in a document ?
Date Tue, 22 Mar 2011 10:22:32 GMT
On 3/22/11 10:09 AM, shrinath.m wrote:
> On Tue, Mar 22, 2011 at 1:37 PM, Michael Wechner [via Lucene]<
> ml-node+2714008-984126374-376162@n3.nabble.com>  wrote:
>
>> are you looking for something like
>>
>> http://hrycan.com/2009/11/26/updating-document-fields-in-lucene/
>>
>> ?
>>
> Precisely that.
> I am OK with storing the fields,
> but I wanted to do that without making the *id* field searchable. ( I mean,
> *not indexed* =>  Field.Index.NO)
>
> Is that possible ?

I don't know. I guess the question is how else do you find this 
particular document.

As a workaround I would suggest that you index the *id* and that your 
application
just hides/blocks searching for it.

HTH

Michael
>


---------------------------------------------------------------------
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