Re: Score always 0.0

2008-11-24 Thread Cedric Houis
Thanks a lot Yonik. Effectively, I had something like that in my code: SchemaField sfield = _schema.getFieldOrNull(fieldName); if (sfield != null) doc.add(sfield.createField(nodeValue, 0)); I set the boost value to 1 and it works now… Thanks again, Cédric Yonik Seeley wrote: > > Looks l

Re: Score always 0.0

2008-11-24 Thread Yonik Seeley
Looks like the norm for the doc for that field is 0... did you perhaps boost the field or document by 0 when indexing? -Yonik On Mon, Nov 24, 2008 at 9:59 AM, Cedric Houis <[EMAIL PROTECTED]> wrote: > > Hi Solr team. > > I've got a question about scoring; when we make a search like this: "bush >