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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: