Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5074

Support open-ended NumericRangeQuery in XmlQueryParser

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: modules/queryparser
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      There is no way to specify an open-ended numeric range query using the XML query parser syntax. To be consistent with the usage in the NumericRangeQuery API, which accepts <code>null</code> as an indicator of a missing range endpoint, I propose interpreting an empty or missing <code>lower</code> or <code>upper</code> attribute in the XML syntax in the same way.

        Attachments

        1. LUCENE-5074.patch
          6 kB
          Michael Sokolov
        2. LUCENE-5074.patch
          3 kB
          Michael Sokolov

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sokolov Michael Sokolov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: