Googling around for "fieldNorm == 0" brought me to this post that also involved Nutch several years ago, it might be relavant to you:
http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201011.mbox/%3c201011031930.05980.markus.jel...@openindex.io%3E My only thought is that if your fields are abnormally large, then I wonder if its possible to encounter a rather large floating point underflow ( http://en.wikipedia.org/wiki/Arithmetic_underflow). Lucene's very low precision 8-bit floats used to encode norms would exacerbate this. -Doug On Mon, Apr 21, 2014 at 12:22 AM, Arun V C. <arun...@eteamindia.com> wrote: > Thank you very much for the reply, > > Please find attached schema.xml and solrconfig.xml, most it is default. > > > -----Original Message----- > From: Doug Turnbull [mailto:dturnb...@opensourceconnections.com] > Sent: Sunday, April 20, 2014 9:42 PM > To: Arun V C.; solr-user@lucene.apache.org > Subject: RE: Score is always zero > > Arun, your field norms are all suspiciously 0, which.multiplied through > the scoring calculation causes the overall score to be 0. > > Are you using anything other than the default similarity? Could you post > the relevant parts.of your schema (field definition, field types, > similarity, etc)? > > -Doug > > Sent from my Windows Phone From: Arun V C. > Sent: 4/20/2014 11:09 AM > To: solr-user@lucene.apache.org > Subject: Score is always zero > Score is always zero > > my search query is > > > http://localhost:8080/solr/nutch?indent=on&defType=dismax&version=2.2&q=potenzialit%C3%A0&fq=host:www.gruppozenit.com&debugQuery=true&cache=false > > There are 6 results > Word potenzialità is appearing in title and content in the 5th record, > that should be ranked 1st right. > > Am i doing something wrong > > See the debug statement. > > <lst name="debug"><str name="rawquerystring">potenzialità</str><str > name="querystring">potenzialità</str><str > name="parsedquery">+DisjunctionMaxQuery((content:potenzialità^3.0 | > title:potenzialità^5.0 | anchor:potenzialità)~0.01) > DisjunctionMaxQuery((content:potenzialità^3.0 | title:potenzialità^5.0 > | anchor:potenzialità)~0.01)</str><str > name="parsedquery_toString">+(content:potenzialità^3.0 | > title:potenzialità^5.0 | anchor:potenzialità)~0.01 > (content:potenzialità^3.0 | title:potenzialità^5.0 | > anchor:potenzialità)~0.01</str><lst name="explain"><str name=" > http://www.gruppozenit.com/eng/digital_dalla_rete.html">< > http://www.gruppozenit.com/eng/digital_dalla_rete.html%22%3E> > 0.0 = (MATCH) sum of: > 0.0 = (MATCH) max plus 0.01 times others of: > 0.0 = (MATCH) weight(content:potenzialità^3.0 in 639), product of: > 0.22427149 = queryWeight(content:potenzialità^3.0), product of: > 3.0 = boost > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(content:potenzialità in 639), product of: > 1.0 = tf(termFreq(content:potenzialità)=1) > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.0 = fieldNorm(field=content, doc=639) > 0.0 = (MATCH) max plus 0.01 times others of: > 0.0 = (MATCH) weight(content:potenzialità^3.0 in 639), product of: > 0.22427149 = queryWeight(content:potenzialità^3.0), product of: > 3.0 = boost > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(content:potenzialità in 639), product of: > 1.0 = tf(termFreq(content:potenzialità)=1) > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.0 = fieldNorm(field=content, doc=639) </str><str name=" > http://www.gruppozenit.com/ita/digital_communication.html">< > http://www.gruppozenit.com/ita/digital_communication.html%22%3E> > 0.0 = (MATCH) sum of: > 0.0 = (MATCH) max plus 0.01 times others of: > 0.0 = (MATCH) weight(content:potenzialità^3.0 in 725), product of: > 0.22427149 = queryWeight(content:potenzialità^3.0), product of: > 3.0 = boost > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(content:potenzialità in 725), product of: > 1.0 = tf(termFreq(content:potenzialità)=1) > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.0 = fieldNorm(field=content, doc=725) > 0.0 = (MATCH) max plus 0.01 times others of: > 0.0 = (MATCH) weight(content:potenzialità^3.0 in 725), product of: > 0.22427149 = queryWeight(content:potenzialità^3.0), product of: > 3.0 = boost > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(content:potenzialità in 725), product of: > 1.0 = tf(termFreq(content:potenzialità)=1) > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.0 = fieldNorm(field=content, doc=725) </str><str name=" > http://www.gruppozenit.com/ita/digital_dalla_rete.html">< > http://www.gruppozenit.com/ita/digital_dalla_rete.html%22%3E> > 0.0 = (MATCH) sum of: > 0.0 = (MATCH) max plus 0.01 times others of: > 0.0 = (MATCH) weight(content:potenzialità^3.0 in 726), product of: > 0.22427149 = queryWeight(content:potenzialità^3.0), product of: > 3.0 = boost > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(content:potenzialità in 726), product of: > 1.0 = tf(termFreq(content:potenzialità)=1) > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.0 = fieldNorm(field=content, doc=726) > 0.0 = (MATCH) max plus 0.01 times others of: > 0.0 = (MATCH) weight(content:potenzialità^3.0 in 726), product of: > 0.22427149 = queryWeight(content:potenzialità^3.0), product of: > 3.0 = boost > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(content:potenzialità in 726), product of: > 1.0 = tf(termFreq(content:potenzialità)=1) > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.0 = fieldNorm(field=content, doc=726) </str><str name=" > http://www.gruppozenit.com/ita/digital_servizi.html">< > http://www.gruppozenit.com/ita/digital_servizi.html%22%3E> > 0.0 = (MATCH) sum of: > 0.0 = (MATCH) max plus 0.01 times others of: > 0.0 = (MATCH) weight(content:potenzialità^3.0 in 728), product of: > 0.22427149 = queryWeight(content:potenzialità^3.0), product of: > 3.0 = boost > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(content:potenzialità in 728), product of: > 1.0 = tf(termFreq(content:potenzialità)=1) > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.0 = fieldNorm(field=content, doc=728) > 0.0 = (MATCH) max plus 0.01 times others of: > 0.0 = (MATCH) weight(content:potenzialità^3.0 in 728), product of: > 0.22427149 = queryWeight(content:potenzialità^3.0), product of: > 3.0 = boost > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(content:potenzialità in 728), product of: > 1.0 = tf(termFreq(content:potenzialità)=1) > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.0 = fieldNorm(field=content, doc=728) </str><str name=" > http://www.gruppozenit.com/ita/dr_design_adattivo.html">< > http://www.gruppozenit.com/ita/dr_design_adattivo.html%22%3E> > 0.0 = (MATCH) sum of: > 0.0 = (MATCH) max plus 0.01 times others of: > 0.0 = (MATCH) weight(content:potenzialità^3.0 in 732), product of: > 0.22427149 = queryWeight(content:potenzialità^3.0), product of: > 3.0 = boost > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(content:potenzialità in 732), product of: > 1.4142135 = tf(termFreq(content:potenzialità)=2) > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.0 = fieldNorm(field=content, doc=732) > 0.0 = (MATCH) weight(title:potenzialità^5.0 in 732), product of: > 0.7071016 = queryWeight(title:potenzialità^5.0), product of: > 5.0 = boost > 7.417549 = idf(docFreq=1, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(title:potenzialità in 732), product of: > 1.0 = tf(termFreq(title:potenzialità)=1) > 7.417549 = idf(docFreq=1, maxDocs=1225) > 0.0 = fieldNorm(field=title, doc=732) > 0.0 = (MATCH) max plus 0.01 times others of: > 0.0 = (MATCH) weight(content:potenzialità^3.0 in 732), product of: > 0.22427149 = queryWeight(content:potenzialità^3.0), product of: > 3.0 = boost > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(content:potenzialità in 732), product of: > 1.4142135 = tf(termFreq(content:potenzialità)=2) > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.0 = fieldNorm(field=content, doc=732) > 0.0 = (MATCH) weight(title:potenzialità^5.0 in 732), product of: > 0.7071016 = queryWeight(title:potenzialità^5.0), product of: > 5.0 = boost > 7.417549 = idf(docFreq=1, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(title:potenzialità in 732), product of: > 1.0 = tf(termFreq(title:potenzialità)=1) > 7.417549 = idf(docFreq=1, maxDocs=1225) > 0.0 = fieldNorm(field=title, doc=732) </str><str name=" > http://www.gruppozenit.com/ita/dr_privacy-usabilita-marketing.html">< > http://www.gruppozenit.com/ita/dr_privacy-usabilita-marketing.html%22%3E> > 0.0 = (MATCH) sum of: > 0.0 = (MATCH) max plus 0.01 times others of: > 0.0 = (MATCH) weight(content:potenzialità^3.0 in 741), product of: > 0.22427149 = queryWeight(content:potenzialità^3.0), product of: > 3.0 = boost > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(content:potenzialità in 741), product of: > 1.0 = tf(termFreq(content:potenzialità)=1) > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.0 = fieldNorm(field=content, doc=741) > 0.0 = (MATCH) max plus 0.01 times others of: > 0.0 = (MATCH) weight(content:potenzialità^3.0 in 741), product of: > 0.22427149 = queryWeight(content:potenzialità^3.0), product of: > 3.0 = boost > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.019065639 = queryNorm > 0.0 = (MATCH) fieldWeight(content:potenzialità in 741), product of: > 1.0 = tf(termFreq(content:potenzialità)=1) > 3.9210415 = idf(docFreq=65, maxDocs=1225) > 0.0 = fieldNorm(field=content, doc=741) </str></lst> > > > Solr Specification Version: 3.6.2.2013.05.16.17.30.57 > Solr Implementation Version: 3.6.2 debian - buildd - 2013-05-16 > 17:30:57 > Lucene Specification Version: 3.6.2 > Lucene Implementation Version: 3.6.2 debian - buildd - > 2013-05-16 17:29:09 > > ________________________________ > > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error please notify the system manager. > Please note that any views or opinions presented in this email are solely > those of the author and do not necessarily represent those of e-team > informatica india (P) ltd. Finally, the recipient should check this email > and any attachments for the presence of viruses. E-team accepts no > liability for any damage caused by any virus transmitted by this email. > ------------------------------------------------------------------------ > e-Team > -------------------------------------------------------------------------------------- > > -- > > Questo messaggio e' stato analizzato da Esvatron Antispam ed e' > risultato non infetto. > > This message was scanned by Esvatron Antispam and is believed to be clean. > > --Questo messaggio e' stato analizzato da Zen-Service Antispam ed e' > risultato non infetto.Seguire il link qui sotto per segnalarlo come spam: > http://esvatron.gruppozenit.com/cgi-bin/learn-msg.cgi?id=A86452839F.AB64F > > > ________________________________ > > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error please notify the system manager. > Please note that any views or opinions presented in this email are solely > those of the author and do not necessarily represent those of e-team > informatica india (P) ltd. Finally, the recipient should check this email > and any attachments for the presence of viruses. E-team accepts no > liability for any damage caused by any virus transmitted by this email. > ------------------------------------------------------------------------ > e-Team > -------------------------------------------------------------------------------------- > > -- > Questo messaggio e' stato analizzato da Esvatron Antispam ed e' risultato > non infetto. > This message was scanned by Esvatron Antispam and is believed to be clean. > > -- Doug Turnbull Search & Big Data Architect OpenSource Connections <http://o19s.com>