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

Support open-ended NumericRangeQuery in XmlQueryParser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • None
    • modules/queryparser
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: