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

Allow negative pre/post values in SpanNotQuery

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I need to be able to specify a certain range of allowed overlap between the include and exclude parameters of SpanNotQuery.

      Since this behaviour is the inverse of the behaviour implemented by the pre and post constructor arguments, I suggest that this be implemented with negative pre and post values.

      Patch incoming.

        Attachments

        1. LUCENE-7431.patch
          10 kB
          Marc Morissette

          Activity

            People

            • Assignee:
              dsmiley David Smiley
              Reporter:
              marc.morissette Marc Morissette
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: