Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0 GA
    • Component/s: Core
    • Labels:
      None

      Description

      @Highlight(fields={"name", "description"})
      Page<SomeSolrDoc> findByNameOrDescription(String name, String description)
      

      @Highlight without any parameters shall set hl=true in request.

      Result will be a HighlightPage linking together highlights and result entities via the id.

      <lst name="highlighting">
        <lst name="GB18030TEST">
          <arr name="name">
            <str>Test <em>with</em> some GB18030 encoded characters</str>
          </arr>
        </lst>
        <lst name="MA147LL/A">
          <arr name="name">
            <str>Apple 60 GB iPod <em>with</em> Video Playback Black</str>
          </arr>
          <arr name="features">
            <str>2.5-inch, 320x240 color TFT LCD display <em>with</em> LED backlight</str>
          </arr>
        </lst>
        <lst name="UTF8TEST">
          <arr name="name">
            <str>Test <em>with</em> some UTF-8 encoded characters</str>
          </arr>
          <arr name="features">
            <str>eaiou <em>with</em> circumflexes: êâîôû</str>
          </arr>
        </lst>
      </lst>
      

      for full list of available parameters see http://wiki.apache.org/solr/HighlightingParameters

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Christoph Strobl
            Reporter:
            Christoph Strobl
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: