> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 11, 2002 9:19 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Normalization of Documents
>
>
> > From: Halácsy Péter
> >
> > option 2 (I think better)
> >
> > Document d = new Document();
> > d.setValue(0.45);
> > d.addField(..);
> > writer.addDocument();
>
> This would not be hard to add to Lucene. I would like to add
> it as soon as
> we get the 1.2 release finalized.
>
> I also prefer the second style of interface, however the method should
> probably be on Field not on Document. Something like
> Field.setBoost(float);
> Perhaps we could also add a Document.setBoost(float) method
> which would
> provide a default boost for all fields added to that document.
>
> Doug
it sounds great! thanks
peter
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>