lucene-dev mailing list archives

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


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:
  "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",
> defType param completely ignored
> --------------------------------
>                 Key: SOLR-3303
>                 URL:
>             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
> 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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message