lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: how to interpret the Solr score ?
Date Thu, 01 Mar 2007 15:52:21 GMT
On 3/1/07, Pierre-Yves LANDRON <> wrote:
> I haven't seen that maxScore you're speaking about. It's exactly what I
> needed.

It's an attribute in <result> when you elect to return scores.

<?xml version="1.0" encoding="UTF-8"?>
<lst name="responseHeader">
 <int name="status">0</int>
 <int name="QTime">0</int>
 <lst name="params">
  <str name="fl">score,*</str>
  <str name="q">ipod</str>
  <str name="indent">on</str>
<result name="response" numFound="3" start="0" maxScore="2.4851787">
  <float name="score">2.4851787</float>
  <arr name="cat"><str>electronics</str><str>connector</str></arr>
  <arr name="features"><str>car power adapter for iPod, white</str></arr>
  <str name="id">IW-02</str>
  <bool name="inStock">false</bool>
  <str name="manu">Belkin</str>
  <str name="name">iPod &amp; iPod Mini USB 2.0 Cable</str>
  <int name="popularity">1</int>
  <float name="price">11.5</float>
  <str name="sku">IW-02</str>
  <date name="timestamp">2007-01-31T05:12:44.484Z</date>
  <float name="weight">2.0</float>

View raw message