Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2902

List of collations are wrong parsed in SpellCheckResponse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4
    • 3.5, 4.0-ALPHA
    • clients - java
    • None
    • windows xp.

    Description

      When I do a search query which spellcheck=on I get more then one collation in the solr response:

      <str name="collation">kaart</str>
      <str name="collation">maart</str>
      <str name="collation">vaart</str>
      <str name="collation">staart</str>
      <str name="collation">baart</str>
      <str name="collation">komkaart</str>
      <str name="collation">dagvaart</str>

      The SpellCheckResponse gives me only the collation 'dagvaart':

      getCollatedResults() gives a list of 7 items that contains only Collation objects with 'dagvaart'.
      getCollatedResult() gives a string with the value 'dagvaart'.

      Attachments

        1. SOLR-2902.patch
          4 kB
          James Dyer
        2. SpellCheckResponse.java.patch
          0.6 kB
          Bastiaan Verhoef

        Activity

          People

            simonw Simon Willnauer
            bastiaanverhoef Bastiaan Verhoef
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified