lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SOLR-3243) eDismax and non-fielded range query
Date Wed, 27 Feb 2013 09:31:13 GMT

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

Jan Høydahl commented on SOLR-3243:
-----------------------------------

Have anyone else tested the attached patch? Should we aim to get it in for 4.2? Needs some
unit tests..
                
> eDismax and non-fielded range query
> -----------------------------------
>
>                 Key: SOLR-3243
>                 URL: https://issues.apache.org/jira/browse/SOLR-3243
>             Project: Solr
>          Issue Type: Bug
>          Components: query parsers
>    Affects Versions: 3.1, 3.2, 3.3, 3.4, 3.5
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Critical
>             Fix For: 4.2, 5.0
>
>         Attachments: SOLR-3243.patch
>
>
> Reported by Bill Bell in SOLR-3085:
> If you enter a non-fielded open-ended range in the search box, like [* TO *], eDismax
will expand it to all fields:
> {noformat}
> +DisjunctionMaxQuery((content:[* TO *]^2.0 | id:[* TO *]^50.0 | author:[* TO *]^15.0
| meta:[* TO *]^10.0 | name:[* TO *]^20.0))
> {noformat}
> This does not make sense, and a side effect is that range queries for strings are very
expensive, open-ended even more, and you can totally crash the search server by hammering
something like ([* TO *] OR [* TO *] OR [* TO *]) a few times...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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