Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3243

eDismax and non-fielded range query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1, 3.2, 3.3, 3.4, 3.5
    • None
    • query parsers
    • 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...

      Attachments

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

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              janhoy Jan Høydahl
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: