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

Allow negative pre/post values in SpanNotQuery

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.4
    • core/search
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: