Yes, that's how its generally done. Also, you should just handle data/fields aptly rather than trying to avoid them in the first place. You could safely add these, use these internally and never return these or use these for an end user search.
-- Anshum Gupta http://ai-cafe.blogspot.com On Tue, Mar 22, 2011 at 4:01 PM, shrinath.m <shrinat...@webyog.com> wrote: > On Tue, Mar 22, 2011 at 3:57 PM, Anshum-2 [via Lucene] < > ml-node+2714275-817267840-376...@n3.nabble.com> wrote: > > > Also, > > Is there a particular reason why you wouldn't want to index that > > considering > > you'd want to 'update' documents. > > > > I'd not mind indexing it, but I wouldn't want it to pop up in search > results > or Autocomplete :) > I'd say we can hide/block it from search in our app as Michael suggests, > again, is that how > everyone does it ? Is that the "best" way ? > > > -- > Regards > Shrinath.M > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Is-it-possible-to-update-only-selected-fields-in-a-document-tp2713888p2714284.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. >