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

contrib/xml-query-parser, BoostingTermQuery support

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.9
    • modules/other
    • None
    • New, Patch Available

    Description

      I'm not 100% on this patch.

      BooleanTermQuery is a part of the spans family, but I generally use that class as a replacement for TermQuery. Thus in the DTD I have stated that it can be a part of the root queries as well as a part of a span.

      However, SpanFooQueries xml elements are named <SpanFoo/> rather than <SpanFooQuery/>, I have however chosen to call it <BoostingTermQuery/>. It would be possible to set it up so it would be parsed as <SpanBoostingTerm/> when inside of a <SpanSomething>, but I just find that confusing.

      Attachments

        1. LUCENE-1531.txt
          8 kB
          Karl Wettin
        2. LUCENE-1531.txt
          8 kB
          Karl Wettin

        Activity

          People

            karl.wettin Karl Wettin
            karl.wettin Karl Wettin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: