lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Halácsy Péter <halacsy.pe...@axelero.com>
Subject RE: Normalization of Documents
Date Mon, 15 Apr 2002 07:34:18 GMT


> -----Original Message-----
> From: apache@lucene.com [mailto:apache@lucene.com]
> Sent: Thursday, April 11, 2002 9:19 PM
> To: lucene-user@jakarta.apache.org
> 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:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message