Solr
  1. Solr
  2. SOLR-825

The ConstantScore family of queries does not work with highlighting

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: highlighter
    • Labels:
      None

      Description

      Would be nice to be able to highlight range, wildcard, prefix queries again. LUCENE-1424, LUCENE-1425, updating Lucene jars, and a patch from this issue, will get us there.

      1. SOLR-825.patch
        4 kB
        Mark Miller
      2. SOLR-825.patch
        6 kB
        Mark Miller
      3. SOLR-825.patch
        6 kB
        Mark Miller

        Issue Links

          Activity

          Hide
          Mark Miller added a comment -

          With LUCENE-1424 and 1425 committed, I think this is now possible with Solr. It will only work with the Phrase Highlighter, but thats probably the highlighter you should be using anyway (highlighting phrases properly is nice and expected, and its not any slower for non phrase highlighting).

          Still need a patch and a Lucene jar upgrade though. I will be happy to see highlightable wildcard/range queries again.

          Show
          Mark Miller added a comment - With LUCENE-1424 and 1425 committed, I think this is now possible with Solr. It will only work with the Phrase Highlighter, but thats probably the highlighter you should be using anyway (highlighting phrases properly is nice and expected, and its not any slower for non phrase highlighting). Still need a patch and a Lucene jar upgrade though. I will be happy to see highlightable wildcard/range queries again.
          Hide
          Mark Miller added a comment -

          I've worked out most of this, but there is an issue that I have to fix in the Lucene highlighter first, so its this will have to wait for that (working on it) and another Lucene jar update.

          Show
          Mark Miller added a comment - I've worked out most of this, but there is an issue that I have to fix in the Lucene highlighter first, so its this will have to wait for that (working on it) and another Lucene jar update.
          Hide
          Mark Miller added a comment -

          Still needs some tests and a Lucene highlighter jar update, but this will do it.

          Show
          Mark Miller added a comment - Still needs some tests and a Lucene highlighter jar update, but this will do it.
          Hide
          Mark Miller added a comment -

          a little null pointer fix and a couple tests from Hoss in one of the related issues (with a new arg to enforce multi term expanding with the span highlighter)

          Show
          Mark Miller added a comment - a little null pointer fix and a couple tests from Hoss in one of the related issues (with a new arg to enforce multi term expanding with the span highlighter)
          Hide
          Grant Ingersoll added a comment -

          Bulk close for Solr 1.4

          Show
          Grant Ingersoll added a comment - Bulk close for Solr 1.4

            People

            • Assignee:
              Mark Miller
              Reporter:
              Mark Miller
            • Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development