Re: Solr 4.0 Beta: Admin UI does not correctly implement dismax/edismax query

2012-09-13 Thread Erik Hatcher
That's definitely a bug.  dismax=true is not the correct parameter to send.  
Should be defType=dismax

Erik

On Sep 13, 2012, at 12:22 , Tom Burton-West wrote:

 Just want to check I am not doing something obviously wrong before I file a
 bug ticket.
 
 In Solr 4.0Beta, in the admin UI in the Query panel,, there is a checkbox
 option to check dismax or edismax
 When you check one of those, text boxes for the dismax parameters are
 exposed.  However, the query that gets sent to Solr is not actually a
 dismax query.
 
 
 lst name=params
 str name=mm3/str
 str name=pfocr^200/str
 str name=debugQuerytrue/str
 str name=dismaxtrue/str
 str name=tie0.1/str
 str name=qfire-fly/str
 str name=wtxml/str
 
 str name=rawquerystringfire-fly/str
 str name=querystringfire-fly/str
 str name=parsedquerytext:fire text:fly/str
 
 If a correct dismax query was being sent to Solr the parsedquery would have
 something like the following:
 str name=parsedquery(+DisjunctionMaxQuery(((text:fire text:fly)))
 
 Tom Burton-West



Re: Solr 4.0 Beta: Admin UI does not correctly implement dismax/edismax query

2012-09-13 Thread Tom Burton-West
Thanks Erik,

Just found out that there is already a bug report for this open as
https://issues.apache.org/jira/browse/SOLR-3811.

Tom

On Thu, Sep 13, 2012 at 12:52 PM, Erik Hatcher erik.hatc...@gmail.comwrote:

 That's definitely a bug.  dismax=true is not the correct parameter to
 send.  Should be defType=dismax

 Erik

 On Sep 13, 2012, at 12:22 , Tom Burton-West wrote:

  Just want to check I am not doing something obviously wrong before I
 file a
  bug ticket.
 
  In Solr 4.0Beta, in the admin UI in the Query panel,, there is a checkbox
  option to check dismax or edismax
  When you check one of those, text boxes for the dismax parameters are
  exposed.  However, the query that gets sent to Solr is not actually a
  dismax query.
 
 
  lst name=params
  str name=mm3/str
  str name=pfocr^200/str
  str name=debugQuerytrue/str
  str name=dismaxtrue/str
  str name=tie0.1/str
  str name=qfire-fly/str
  str name=wtxml/str
 
  str name=rawquerystringfire-fly/str
  str name=querystringfire-fly/str
  str name=parsedquerytext:fire text:fly/str
 
  If a correct dismax query was being sent to Solr the parsedquery would
 have
  something like the following:
  str name=parsedquery(+DisjunctionMaxQuery(((text:fire text:fly)))
 
  Tom Burton-West