Solr
  1. Solr
  2. SOLR-2986

Warning missing for features that require stored uniqueKey - MoreLikeThis

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5, 4.0-ALPHA
    • Fix Version/s: 4.1, 5.0
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      If your uniqueKey is not stored, you get this warning:

      uniqueKey is not stored - distributed search will not work

      There is at least one other feature that relies on a stored uniqueKey - MoreLikeThis. Attaching a patch that updates the warning message. It may actually require a more generic message. It's possible there are other features that will not work without storing the uniqueKey.

      1. SOLR-2986.patch
        0.6 kB
        Shawn Heisey
      2. SOLR-2986.patch
        0.7 kB
        Shawn Heisey

        Activity

        Hide
        Hoss Man added a comment -

        Bulk of fixVersion=3.6 -> fixVersion=4.0 for issues that have no assignee and have not been updated recently.

        email notification suppressed to prevent mass-spam
        psuedo-unique token identifying these issues: hoss20120321nofix36

        Show
        Hoss Man added a comment - Bulk of fixVersion=3.6 -> fixVersion=4.0 for issues that have no assignee and have not been updated recently. email notification suppressed to prevent mass-spam psuedo-unique token identifying these issues: hoss20120321nofix36
        Hide
        Mark Miller added a comment -

        I know you didn't change the log level, but shouldn't this actually be at the warning level?

        Show
        Mark Miller added a comment - I know you didn't change the log level, but shouldn't this actually be at the warning level?
        Hide
        Shawn Heisey added a comment -

        New patch against a relatively recent branch_4x. Changes error to warn for this message.

        Patch also applies against trunk for me with gnu patch.

        Show
        Shawn Heisey added a comment - New patch against a relatively recent branch_4x. Changes error to warn for this message. Patch also applies against trunk for me with gnu patch.
        Hide
        Mark Miller added a comment -

        Thanks Shawn!

        Show
        Mark Miller added a comment - Thanks Shawn!
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1419959

        SOLR-2986: Add MoreLikeThis to warning about features that require uniqueKey. Also, change the warning to warn log level.

        Show
        Commit Tag Bot added a comment - [trunk commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1419959 SOLR-2986 : Add MoreLikeThis to warning about features that require uniqueKey. Also, change the warning to warn log level.
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1419960

        SOLR-2986: Add MoreLikeThis to warning about features that require uniqueKey. Also, change the warning to warn log level.

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1419960 SOLR-2986 : Add MoreLikeThis to warning about features that require uniqueKey. Also, change the warning to warn log level.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development