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

Add dimensional "equals" query to match docs containing precisely a given value

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Today, you can make a dimensional range query using e.g. DimensionalRangeQuery.new1DIntRange, etc., plus a direct ctor for "expert" (2D, 3D, etc.) usages, but matching a single value is awkward and users ask about it from time to time.

      We could maybe rename DimensionalRangeQuery to DimensionalQuery and add new "factories" like newIntEqualsQuery or something.

      Or, we could make new classes, DimensionalIntEqualsQuery etc., and you get to use ordinary constructors?

      Or something else?

        Attachments

        1. LUCENE-6975.patch
          642 kB
          Michael McCandless
        2. LUCENE-6975.patch
          579 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: