lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Martchenko <ale...@martchenko.com.br>
Subject Re: ExtendedDismax and NOT operator
Date Fri, 07 Feb 2014 17:44:23 GMT
Just to clarify: the actual url is properly space-escaped?

http://localhost:8983/solr/distrib/select?q=term1%20NOT%20
term2&start=0&rows=0&qt=edismax_basic&debugQuery=true



alexei martchenko
Facebook <http://www.facebook.com/alexeiramone> |
Linkedin<http://br.linkedin.com/in/alexeimartchenko>|
Steam <http://steamcommunity.com/id/alexeiramone/> |
4sq<https://pt.foursquare.com/alexeiramone>| Skype: alexeiramone |
Github <https://github.com/alexeiramone> | (11) 9 7613.0966 |


2014-02-07 12:40 GMT-02:00 Geert Van Huychem <geert@iframeworx.be>:

> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message