Hi

This is my config:

  <requestHandler name="edismax_basic" class="solr.SearchHandler">
    <lst name="defaults">
      <str name="defType">edismax</str>
      <str name="qf">body</str>
      <str name="pf">title^30 introduction^15 body^10</str>
      <str name="ps">0</str>
    </lst>
  </requestHandler>

Executing the following link:
http://localhost:8983/solr/distrib/select?q=term1 NOT
term2&start=0&rows=0&qt=edismax_basic&debugQuery=true

gives me as debuginfo:

<str name="parsedquery">
(+(DisjunctionMaxQuery((body:term1)) -DisjunctionMaxQuery((body:term2)))
DisjunctionMaxQuery((title:"term1 term2"^30.0))
DisjunctionMaxQuery((introduction:"term1 term2"^15.0))
DisjunctionMaxQuery((body:"term1 term2"^10.0)))/no_coord
</str>

My question is: why is term2 included in the phrase query part?

Best
Geert Van Huychem

Reply via email to