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

BoostingNearQuery class (prototype)

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.1
    • 2.9
    • core/query/scoring
    • None

    Description

      This patch implements term boosting for SpanNearQuery. Refer to: http://www.gossamer-threads.com/lists/lucene/java-user/62779

      This patch works but probably needs more work. I don't like the use of 'instanceof', but I didn't want to touch Spans or TermSpans. Also, the payload code is mostly a copy of what's in BoostingTermQuery and could be common-sourced somewhere. Feel free to throw darts at it

      Attachments

        1. bnq.patch
          2 kB
          Peter Keegan
        2. BoostingNearQuery.java
          4 kB
          Peter Keegan
        3. bnq.patch
          2 kB
          Peter Keegan
        4. BoostingNearQuery.java
          4 kB
          Peter Keegan
        5. LUCENE-1341.patch
          9 kB
          Grant Ingersoll
        6. LUCENE-1341-new.patch
          9 kB
          Peter Keegan
        7. lucene-1341-new-1.patch
          17 kB
          Peter Keegan
        8. lucene-1341-new-2.patch
          18 kB
          Peter Keegan
        9. LUCENE-1341.patch
          18 kB
          Grant Ingersoll

        Issue Links

          Activity

            People

              gsingers Grant Ingersoll
              pkeegan Peter Keegan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: