Solr
  1. Solr
  2. SOLR-1971

Add uniqueKey parameter to Solr Cell, allowing client to work without knowing the actual field name

    Details

      Description

      This comes from an LCF need of indexing content generically into Solr, where the LCF side does not know the field name of the schema.xml uniqueKey specified field. You can send in literals to Solr Cell, such as literal.id=my_unique_key, but this relies on the client knowing that "id" is the field name.

      Let's add a parameter to Solr Cell, such as uniqueKey=my_unique_key, and underneath Solr Cell will map that to the proper field.

        Activity

        Hide
        Yonik Seeley added a comment -

        That doesn't fully solve the problem though... if someone is going to set a uniqueKey w/o knowing what field it is, they also don't know the type of field it is.

        if one can assume that the id field is a string, why not just also assume that this field is named "id"... seems like "best practice".

        Show
        Yonik Seeley added a comment - That doesn't fully solve the problem though... if someone is going to set a uniqueKey w/o knowing what field it is, they also don't know the type of field it is. if one can assume that the id field is a string, why not just also assume that this field is named "id"... seems like "best practice".
        Hide
        Robert Muir added a comment -

        Bulk move 3.2 -> 3.3

        Show
        Robert Muir added a comment - Bulk move 3.2 -> 3.3
        Hide
        Robert Muir added a comment -

        3.4 -> 3.5

        Show
        Robert Muir added a comment - 3.4 -> 3.5
        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
        Steve Rowe added a comment -

        Bulk move 4.4 issues to 4.5 and 5.0

        Show
        Steve Rowe added a comment - Bulk move 4.4 issues to 4.5 and 5.0
        Hide
        Uwe Schindler added a comment -

        Move issue to Solr 4.9.

        Show
        Uwe Schindler added a comment - Move issue to Solr 4.9.

          People

          • Assignee:
            Unassigned
            Reporter:
            Erik Hatcher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development