Yonik Seeley wrote:
Things you can try:
- post the debugging output (including score explain) for the query
I have attached the output.
- try disabling length normalization for the title field, then remove
the entire index and re-idnex.
- try the dismax handler, which can generate sloppy phrase queries to
boost results containing all terms.
- try a different similarity implementation
(org.apache.lucene.misc.SweetSpotSimilarity from lucene)
Can you explain what these 3 options mean? I would like to get a better understanding of the guts of SOLR/Lucene but I am too busy working on my application that uses it to spend time with the internals.

Thanks
Andrew
<?xml version="1.0" encoding="UTF-8"?>
<response>

<lst name="responseHeader">
 <int name="status">0</int>
 <int name="QTime">102</int>
</lst>
<result name="response" numFound="324" start="0" maxScore="2.7548285">
 <doc>
  <float name="score">2.7548285</float>
  <arr name="author"><str>Farnol, Jeffery,</str></arr>
  <str name="callnumber">PR6011.A75.W56 1939</str>
  <str name="format">Book</str>
  <str name="id">97525</str>
  <str name="language">eng</str>
  <str name="publishDate">1939, c1934.</str>
  <str name="publisher">Triangle Books,</str>
  <str name="title">Winds of chance /</str>
  <str name="title2">Winds of change [sic]</str>
 </doc>
 <doc>
  <float name="score">2.5437002</float>
  <arr name="author"><str>Simpson, John E.,</str></arr>
  <str name="callnumber">QC939.L37S56 1994</str>
  <str name="format">Book</str>
  <str name="id">433518</str>
  <str name="isbn">0521452112</str>
  <str name="language">eng</str>
  <str name="physical">ill., maps ;</str>
  <str name="publishDate">1994.</str>
  <str name="publisher">Cambridge University Press,</str>
  <arr name="subject4a"><str>Sea breeze.</str></arr>
  <arr name="subject4x"><str/></arr>
  <str name="title">Sea breeze and local winds /</str>
  <str name="title2">Sea breeze and local wind.</str>
 </doc>
 <doc>
  <float name="score">2.438136</float>
  <arr name="author"><str>Hobbs, William Herbert,</str></arr>
  <str name="callnumber">G743.H6 1968</str>
  <str name="format">Book</str>
  <str name="id">192408</str>
  <str name="language">eng</str>
  <str name="physical">illus., maps, ports. ;</str>
  <str name="publishDate">[1968, c1930]</str>
  <str name="publisher">Greenwood Press,</str>
  <arr name="subject4a"><str>Meteorology</str></arr>
  <arr name="subject4x"><str/></arr>
  <arr name="subject5"><str>Arctic regions.</str></arr>
  <str name="title">Exploring about the North Pole of the winds.</str>
  <str name="title2">North Pole of the winds.</str>
 </doc>
 <doc>
  <float name="score">2.4319565</float>
  <arr name="author"><str>Mitchell, Margaret,</str></arr>
  <str name="callnumber">PS3525.I972G6 1996</str>
  <str name="format">Book</str>
  <str name="id">426657</str>
  <str name="isbn">0684826259 (alk. paper)</str>
  <str name="language">eng</str>
  <str name="physical">ill. ;</str>
  <str name="publishDate">c1996.</str>
  <str name="publisher">Scribner,</str>
  <arr name="subject4a"><str>Women</str></arr>
  <arr name="subject4x"><str>History</str></arr>
  <arr name="subject5"><str>Georgia</str></arr>
  <str name="title">Gone with the wind /</str>
 </doc>
 <doc>
  <float name="score">2.4319565</float>
  <arr name="author"><str>Gable, Clark,</str><str>Leigh, Vivien,</str><str>Howard, Leslie,</str>
	<str>De Havilland, Olivia.</str><str>Mitchell, Thomas,</str><str>McDaniel, Hattie,</str><str>McQueen, Butterfly.</str>
	<str>Fleming, Victor,</str><str>Mitchell, Margaret,</str></arr>
  <str name="callnumber">VT3188 VHS</str>
  <str name="format">Video</str>
  <str name="id">529954</str>
  <str name="language">eng</str>
  <str name="physical">sd., col. ;</str>
  <str name="publishDate">c1999.</str>
  <str name="publisher">Time Warner Co.,</str>
  <arr name="subject4a"><str>War films.</str><str>Feature films.</str></arr>
  <arr name="subject4x"><str/><str/></arr>
  <arr name="subject5"><str>United States</str></arr>
  <str name="title">Gone with the wind</str>
 </doc>
 <doc>
  <float name="score">2.4319565</float>
  <arr name="author"><str>Mitchell, Margaret,</str></arr>
  <str name="callnumber">PS3525.I972G6 1993</str>
  <str name="format">Book</str>
  <str name="id">534773</str>
  <str name="isbn">0446365386</str>
  <str name="language">eng</str>
  <str name="publishDate">[1993], c1936.</str>
  <str name="publisher">Warner Books,</str>
  <arr name="subject5"><str>United States</str><str>Georgia</str></arr>
  <str name="title">Gone with the wind /</str>
 </doc>
 <doc>
  <float name="score">1.7023697</float>
  <arr name="author"><str>Pyron, Darden Asbury.</str></arr>
  <str name="callnumber">PS3525.I972G687 1983</str>
  <str name="format">Book</str>
  <str name="id">27783</str>
  <str name="isbn">081300747X (pbk. : alk. paper)</str>
  <str name="language">eng</str>
  <str name="publishDate">c1983.</str>
  <str name="publisher">University Presses of Florida,</str>
  <arr name="subject1"><str>Mitchell, Margaret,</str></arr>
  <arr name="subject3"><str>Gone with the wind (Motion picture)</str></arr>
  <arr name="subject5"><str>Southern States</str></arr>
  <str name="title">Recasting :"Gone with the wind" in American culture /</str>
 </doc>
 <doc>
  <float name="score">1.6493776</float>
  <arr name="author"><str>Stuttgarter Bläserquintett.</str><str>Haydn, Joseph,</str><str>Reicha, Anton,</str>
	<str>Danzi, Franz,</str><str>Lickl, Johann Georg,</str></arr>
  <str name="callnumber">CD257</str>
  <str name="contents">Divertimento, Nr. 1, B-Dur : Chorale St. Antoni / Joseph Haydn (10:24) -- Bläserquintett Es-Dur, op. 88, 2 / Anton Reicha (14:06) -- Bläserquintett B-Dur, op. 56, 1 / Franz Danzi (13:31) -- Quintetto concertante, F-Dur / Johann Georg Lickl (20:41).</str>
  <str name="format">Audio</str>
  <str name="id">555810</str>
  <str name="language">   </str>
  <str name="physical">digital, stereo. ;</str>
  <str name="publishDate">1989.</str>
  <str name="publisher">Pilz,</str>
  <arr name="series"><str>Vienna master series</str><str>Vienna master series</str></arr>
  <arr name="subject4a"><str>Wind quintets (Bassoon, clarinet, flute, horn, oboe)</str><str>Suites (Bassoon, clarinet, flute, horn, oboe)</str></arr>
  <arr name="subject4x"><str/><str/></arr>
  <str name="title">Bläserquintett San Antoni und andere BläserquintetteWind-player quintet San Antoni and other wind-player quintets /</str>
  <str name="title2">Wind-player quintet San Antoni and other wind-player quintets</str>
 </doc>
 <doc>
  <float name="score">1.4591739</float>
  <arr name="author"><str>Taylor, Helen,</str></arr>
  <str name="callnumber">PS3525.I972G688 1989</str>
  <str name="format">Book</str>
  <str name="id">312906</str>
  <str name="isbn">0813514800 :</str>
  <str name="language">eng</str>
  <str name="publishDate">1989.</str>
  <str name="publisher">Rutgers University Press,</str>
  <arr name="subject1"><str>Mitchell, Margaret,</str><str>Mitchell, Margaret,</str><str>Mitchell, Margaret,</str></arr>
  <arr name="subject3"><str>Gone with the wind (Motion picture)</str></arr>
  <arr name="subject4a"><str>Women</str><str>Historical fiction, American</str><str>Motion picture audiences</str></arr>
  <arr name="subject4x"><str>Books and reading</str><str>Film and video adaptations.</str><str/></arr>
  <str name="title">Scarlett's women :Gone with the wind and its female fans /</str>
 </doc>
 <doc>
  <float name="score">1.4591739</float>
  <arr name="author"><str>Vertrees, Alan David,</str></arr>
  <str name="callnumber">PN1997.G59V47 1997</str>
  <str name="format">Book</str>
  <str name="id">508240</str>
  <str name="isbn">0292787294 (pbk. : alk. paper)</str>
  <str name="language">eng</str>
  <str name="physical">ill. ;</str>
  <str name="publishDate">c1997.</str>
  <str name="publisher">University of Texas Press,</str>
  <arr name="series"><str>Texas film studies series</str><str>Texas film studies series</str></arr>
  <arr name="subject1"><str>Selznick, David O.,</str></arr>
  <arr name="subject3"><str>Gone with the wind (Motion picture)</str></arr>
  <str name="title">Selznick's vision :Gone with the wind and Hollywood filmmaking /</str>
 </doc>
</result>
<lst name="debug">
 <str name="rawquerystring">title:(gone with the wind) OR title2:(gone with the wind)</str>
 <str name="querystring">title:(gone with the wind) OR title2:(gone with the wind)</str>
 <str name="parsedquery">(title:gone title:wind) (title2:gone title2:wind)</str>
 <str name="parsedquery_toString">(title:gone title:wind) (title2:gone title2:wind)</str>
 <lst name="explain">
  <str name="id=97525,internal_docid=490046">
2.7548285 = (MATCH) sum of:
  1.0556406 = (MATCH) product of:
    2.1112812 = (MATCH) sum of:
      2.1112812 = (MATCH) weight(title:wind in 490046), product of:
        0.394033 = queryWeight(title:wind), product of:
          8.573011 = idf(docFreq=252)
          0.045962032 = queryNorm
        5.3581324 = (MATCH) fieldWeight(title:wind in 490046), product of:
          1.0 = tf(termFreq(title:wind)=1)
          8.573011 = idf(docFreq=252)
          0.625 = fieldNorm(field=title, doc=490046)
    0.5 = coord(1/2)
  1.6991879 = (MATCH) product of:
    3.3983757 = (MATCH) sum of:
      3.3983757 = (MATCH) weight(title2:wind in 490046), product of:
        0.55892086 = queryWeight(title2:wind), product of:
          12.16049 = idf(docFreq=6)
          0.045962032 = queryNorm
        6.080245 = (MATCH) fieldWeight(title2:wind in 490046), product of:
          1.0 = tf(termFreq(title2:wind)=1)
          12.16049 = idf(docFreq=6)
          0.5 = fieldNorm(field=title2, doc=490046)
    0.5 = coord(1/2)
</str>
  <str name="id=433518,internal_docid=326785">
2.5437002 = (MATCH) sum of:
  0.8445124 = (MATCH) product of:
    1.6890248 = (MATCH) sum of:
      1.6890248 = (MATCH) weight(title:wind in 326785), product of:
        0.394033 = queryWeight(title:wind), product of:
          8.573011 = idf(docFreq=252)
          0.045962032 = queryNorm
        4.2865057 = (MATCH) fieldWeight(title:wind in 326785), product of:
          1.0 = tf(termFreq(title:wind)=1)
          8.573011 = idf(docFreq=252)
          0.5 = fieldNorm(field=title, doc=326785)
    0.5 = coord(1/2)
  1.6991879 = (MATCH) product of:
    3.3983757 = (MATCH) sum of:
      3.3983757 = (MATCH) weight(title2:wind in 326785), product of:
        0.55892086 = queryWeight(title2:wind), product of:
          12.16049 = idf(docFreq=6)
          0.045962032 = queryNorm
        6.080245 = (MATCH) fieldWeight(title2:wind in 326785), product of:
          1.0 = tf(termFreq(title2:wind)=1)
          12.16049 = idf(docFreq=6)
          0.5 = fieldNorm(field=title2, doc=326785)
    0.5 = coord(1/2)
</str>
  <str name="id=192408,internal_docid=83772">
2.438136 = (MATCH) sum of:
  0.7389483 = (MATCH) product of:
    1.4778966 = (MATCH) sum of:
      1.4778966 = (MATCH) weight(title:wind in 83772), product of:
        0.394033 = queryWeight(title:wind), product of:
          8.573011 = idf(docFreq=252)
          0.045962032 = queryNorm
        3.7506924 = (MATCH) fieldWeight(title:wind in 83772), product of:
          1.0 = tf(termFreq(title:wind)=1)
          8.573011 = idf(docFreq=252)
          0.4375 = fieldNorm(field=title, doc=83772)
    0.5 = coord(1/2)
  1.6991879 = (MATCH) product of:
    3.3983757 = (MATCH) sum of:
      3.3983757 = (MATCH) weight(title2:wind in 83772), product of:
        0.55892086 = queryWeight(title2:wind), product of:
          12.16049 = idf(docFreq=6)
          0.045962032 = queryNorm
        6.080245 = (MATCH) fieldWeight(title2:wind in 83772), product of:
          1.0 = tf(termFreq(title2:wind)=1)
          12.16049 = idf(docFreq=6)
          0.5 = fieldNorm(field=title2, doc=83772)
    0.5 = coord(1/2)
</str>
  <str name="id=426657,internal_docid=319418">
2.4319568 = (MATCH) product of:
  4.8639135 = (MATCH) sum of:
    4.8639135 = (MATCH) sum of:
      2.7526321 = (MATCH) weight(title:gone in 319418), product of:
        0.44991833 = queryWeight(title:gone), product of:
          9.788913 = idf(docFreq=74)
          0.045962032 = queryNorm
        6.1180706 = (MATCH) fieldWeight(title:gone in 319418), product of:
          1.0 = tf(termFreq(title:gone)=1)
          9.788913 = idf(docFreq=74)
          0.625 = fieldNorm(field=title, doc=319418)
      2.1112812 = (MATCH) weight(title:wind in 319418), product of:
        0.394033 = queryWeight(title:wind), product of:
          8.573011 = idf(docFreq=252)
          0.045962032 = queryNorm
        5.3581324 = (MATCH) fieldWeight(title:wind in 319418), product of:
          1.0 = tf(termFreq(title:wind)=1)
          8.573011 = idf(docFreq=252)
          0.625 = fieldNorm(field=title, doc=319418)
  0.5 = coord(1/2)
</str>
  <str name="id=529954,internal_docid=416311">
2.4319568 = (MATCH) product of:
  4.8639135 = (MATCH) sum of:
    4.8639135 = (MATCH) sum of:
      2.7526321 = (MATCH) weight(title:gone in 416311), product of:
        0.44991833 = queryWeight(title:gone), product of:
          9.788913 = idf(docFreq=74)
          0.045962032 = queryNorm
        6.1180706 = (MATCH) fieldWeight(title:gone in 416311), product of:
          1.0 = tf(termFreq(title:gone)=1)
          9.788913 = idf(docFreq=74)
          0.625 = fieldNorm(field=title, doc=416311)
      2.1112812 = (MATCH) weight(title:wind in 416311), product of:
        0.394033 = queryWeight(title:wind), product of:
          8.573011 = idf(docFreq=252)
          0.045962032 = queryNorm
        5.3581324 = (MATCH) fieldWeight(title:wind in 416311), product of:
          1.0 = tf(termFreq(title:wind)=1)
          8.573011 = idf(docFreq=252)
          0.625 = fieldNorm(field=title, doc=416311)
  0.5 = coord(1/2)
</str>
  <str name="id=534773,internal_docid=420440">
2.4319568 = (MATCH) product of:
  4.8639135 = (MATCH) sum of:
    4.8639135 = (MATCH) sum of:
      2.7526321 = (MATCH) weight(title:gone in 420440), product of:
        0.44991833 = queryWeight(title:gone), product of:
          9.788913 = idf(docFreq=74)
          0.045962032 = queryNorm
        6.1180706 = (MATCH) fieldWeight(title:gone in 420440), product of:
          1.0 = tf(termFreq(title:gone)=1)
          9.788913 = idf(docFreq=74)
          0.625 = fieldNorm(field=title, doc=420440)
      2.1112812 = (MATCH) weight(title:wind in 420440), product of:
        0.394033 = queryWeight(title:wind), product of:
          8.573011 = idf(docFreq=252)
          0.045962032 = queryNorm
        5.3581324 = (MATCH) fieldWeight(title:wind in 420440), product of:
          1.0 = tf(termFreq(title:wind)=1)
          8.573011 = idf(docFreq=252)
          0.625 = fieldNorm(field=title, doc=420440)
  0.5 = coord(1/2)
</str>
  <str name="id=27783,internal_docid=161556">
1.7023696 = (MATCH) product of:
  3.4047391 = (MATCH) sum of:
    3.4047391 = (MATCH) sum of:
      1.9268426 = (MATCH) weight(title:gone in 161556), product of:
        0.44991833 = queryWeight(title:gone), product of:
          9.788913 = idf(docFreq=74)
          0.045962032 = queryNorm
        4.2826495 = (MATCH) fieldWeight(title:gone in 161556), product of:
          1.0 = tf(termFreq(title:gone)=1)
          9.788913 = idf(docFreq=74)
          0.4375 = fieldNorm(field=title, doc=161556)
      1.4778966 = (MATCH) weight(title:wind in 161556), product of:
        0.394033 = queryWeight(title:wind), product of:
          8.573011 = idf(docFreq=252)
          0.045962032 = queryNorm
        3.7506924 = (MATCH) fieldWeight(title:wind in 161556), product of:
          1.0 = tf(termFreq(title:wind)=1)
          8.573011 = idf(docFreq=252)
          0.4375 = fieldNorm(field=title, doc=161556)
  0.5 = coord(1/2)
</str>
  <str name="id=555810,internal_docid=440217">
1.6493776 = (MATCH) sum of:
  0.44787034 = (MATCH) product of:
    0.8957407 = (MATCH) sum of:
      0.8957407 = (MATCH) weight(title:wind in 440217), product of:
        0.394033 = queryWeight(title:wind), product of:
          8.573011 = idf(docFreq=252)
          0.045962032 = queryNorm
        2.273263 = (MATCH) fieldWeight(title:wind in 440217), product of:
          1.4142135 = tf(termFreq(title:wind)=2)
          8.573011 = idf(docFreq=252)
          0.1875 = fieldNorm(field=title, doc=440217)
    0.5 = coord(1/2)
  1.2015072 = (MATCH) product of:
    2.4030144 = (MATCH) sum of:
      2.4030144 = (MATCH) weight(title2:wind in 440217), product of:
        0.55892086 = queryWeight(title2:wind), product of:
          12.16049 = idf(docFreq=6)
          0.045962032 = queryNorm
        4.299382 = (MATCH) fieldWeight(title2:wind in 440217), product of:
          1.4142135 = tf(termFreq(title2:wind)=2)
          12.16049 = idf(docFreq=6)
          0.25 = fieldNorm(field=title2, doc=440217)
    0.5 = coord(1/2)
</str>
  <str name="id=312906,internal_docid=196258">
1.4591739 = (MATCH) product of:
  2.9183478 = (MATCH) sum of:
    2.9183478 = (MATCH) sum of:
      1.6515791 = (MATCH) weight(title:gone in 196258), product of:
        0.44991833 = queryWeight(title:gone), product of:
          9.788913 = idf(docFreq=74)
          0.045962032 = queryNorm
        3.6708422 = (MATCH) fieldWeight(title:gone in 196258), product of:
          1.0 = tf(termFreq(title:gone)=1)
          9.788913 = idf(docFreq=74)
          0.375 = fieldNorm(field=title, doc=196258)
      1.2667686 = (MATCH) weight(title:wind in 196258), product of:
        0.394033 = queryWeight(title:wind), product of:
          8.573011 = idf(docFreq=252)
          0.045962032 = queryNorm
        3.2148793 = (MATCH) fieldWeight(title:wind in 196258), product of:
          1.0 = tf(termFreq(title:wind)=1)
          8.573011 = idf(docFreq=252)
          0.375 = fieldNorm(field=title, doc=196258)
  0.5 = coord(1/2)
</str>
  <str name="id=508240,internal_docid=396218">
1.4591739 = (MATCH) product of:
  2.9183478 = (MATCH) sum of:
    2.9183478 = (MATCH) sum of:
      1.6515791 = (MATCH) weight(title:gone in 396218), product of:
        0.44991833 = queryWeight(title:gone), product of:
          9.788913 = idf(docFreq=74)
          0.045962032 = queryNorm
        3.6708422 = (MATCH) fieldWeight(title:gone in 396218), product of:
          1.0 = tf(termFreq(title:gone)=1)
          9.788913 = idf(docFreq=74)
          0.375 = fieldNorm(field=title, doc=396218)
      1.2667686 = (MATCH) weight(title:wind in 396218), product of:
        0.394033 = queryWeight(title:wind), product of:
          8.573011 = idf(docFreq=252)
          0.045962032 = queryNorm
        3.2148793 = (MATCH) fieldWeight(title:wind in 396218), product of:
          1.0 = tf(termFreq(title:wind)=1)
          8.573011 = idf(docFreq=252)
          0.375 = fieldNorm(field=title, doc=396218)
  0.5 = coord(1/2)
</str>
 </lst>
</lst>
</response>

Reply via email to