Solr
  1. Solr
  2. SOLR-3243

eDismax and non-fielded range query

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 3.1, 3.2, 3.3, 3.4, 3.5
    • Fix Version/s: 4.9, 5.0
    • Component/s: query parsers
    • Labels:
      None

      Description

      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:

      +DisjunctionMaxQuery((content:[* TO *]^2.0 | id:[* TO *]^50.0 | author:[* TO *]^15.0 | meta:[* TO *]^10.0 | name:[* TO *]^20.0))
      

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

      1. SOLR-3243.patch
        0.8 kB
        Jan Høydahl

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Jan Høydahl
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:

                Development