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

contrib/xml-query-parser, BoostingTermQuery support

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.9
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: