Hi,
   I wanted to use the new dismax support for more like this described in
SOLR-295 <https://issues.apache.org/jira/browse/SOLR-295> but can't even get
the new syntax for dismax to work (described in
SOLR-281<https://issues.apache.org/jira/browse/SOLR-281>).
Any ideas if this functionality works?

Here's the relevant part of my solr config,

  <requestHandler name="/genre" class="solr.StandardRequestHandler"
defType="dismax">
    <lst name="defaults">
     <str name="echoParams">explicit</str>
     <float name="tie">0.01</float>
     <str name="qf">
        relatedExact^2 genre^0.5
     </str>
     <int name="ps">100</int>
     <str name="q.alt">*:*</str>
    </lst>
  </requestHandler>

Example query:
http://localhost:13280/solr/genre?indent=on&version=2.2&q=terrence+howard&start=0&rows=10&fl=*%2Cscore&wt=standard&debugQuery=on&explainOther=&hl.fl=

Debug output: (I would expect to see dismax scoring)

<str name="Contributor8843">
11.151003 = (MATCH) sum of:
  6.925395 = (MATCH) weight(name:terrence in 63941), product of:
    0.7880709 = queryWeight(name:terrence), product of:
      10.0431795 = idf(docFreq=234, numDocs=1988249)
      0.07846827 = queryNorm
    8.787782 = (MATCH) fieldWeight(name:terrence in 63941), product of:
      1.0 = tf(termFreq(name:terrence)=1)
      10.0431795 = idf(docFreq=234, numDocs=1988249)
      0.875 = fieldNorm(field=name, doc=63941)
  4.2256074 = (MATCH) weight(name:howard in 63941), product of:
    0.6155844 = queryWeight(name:howard), product of:
      7.84501 = idf(docFreq=2116, numDocs=1988249)
      0.07846827 = queryNorm
    6.8643837 = (MATCH) fieldWeight(name:howard in 63941), product of:
      1.0 = tf(termFreq(name:howard)=1)
      7.84501 = idf(docFreq=2116, numDocs=1988249)
      0.875 = fieldNorm(field=name, doc=63941)


Here's my build info:
Solr Specification Version: 1.2.2008.06.02.15.21.48
Solr Implementation Version: 1.3-dev 662524M - tsmorton - 2008-06-02
15:21:48

Is this feature now broken or does it look like my config is wrong?

Thanks...Tom

Reply via email to