lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3303) defType param completely ignored
Date Mon, 02 Apr 2012 11:45:23 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244139#comment-13244139
] 

Erick Erickson commented on SOLR-3303:
--------------------------------------

Could you attach some examples? There's nothing here I can use to reproduce this. In particular,
please attach the results of adding &debugQuery=on to the query that fails along with
an explanation of what you think is wrong.

I would be hugely surprised if this were true. I just ran a quick test and it's behaving as
I expect for the query:
http://localhost:8983/solr/select?q=maxtor&defType=edismax&fl=name,id&debugQuery=on&wt=json
{noformat}
{
  "responseHeader": {
    "status": 0,
    "QTime": 0,
    "params": {
      "fl": "name,id",
      "debugQuery": "on",
      "wt": "json",
      "q": "maxtor",
      "defType": "edismax"
    }
  },
  "response": {
    "numFound": 1,
    "start": 0,
    "docs": [
      {
        "name": "Maxtor DiamondMax 11 - hard drive - 500 GB - SATA-300"
      }
     ]
  },
  "debug": {
    "rawquerystring": "maxtor",
    "querystring": "maxtor",
    "parsedquery": "+DisjunctionMaxQuery((text:maxtor))",
    "parsedquery_toString": "+(text:maxtor)",
    "explain": <removed>
    "QParser": "ExtendedDismaxQParser",
   etc.
{noformat}
                
> defType param completely ignored
> --------------------------------
>
>                 Key: SOLR-3303
>                 URL: https://issues.apache.org/jira/browse/SOLR-3303
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.5
>            Reporter: BrĂ¡ulio Bhavamitra
>            Priority: Critical
>
> I've reproduced this bug using the geodist ordering.
> 'defType' is being completely ignored, and it don't change nothing with 'qt' added or
not.
> I'm supposing that in later case defType must be informed, cause edismax (or dismax)
is not default.
> The correct behaviour is expected when not using qt (defaulting to the default handler
with no default defType value specified in solrconfig.xml) and using defType would make the
query work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message