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

DIH: parameter "cacheKey" was inadvertently renamed "cachePk"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.1, 4.0-BETA
    • Fix Version/s: 3.6.2, 4.0
    • Component/s: None
    • Labels:
      None

      Description

      CachedSqlEntityProcessor supports an obscure alternate to the "where" parameter. Instead of <entity ... where='id=x.id' /> , users can use <entity ... cacheKey="id" cacheLookup="x.id" /> However, this was broken with SOLR-2382. "cacheKey" was accidently renamed "cachePk". For the sake of those who might be using this undocumented syntax and want to upgrade, I think it should be put back to "cacheKey". Also, I will add documentation in the wiki.

        Attachments

        1. SOLR-3850.patch
          0.8 kB
          James Dyer
        2. SOLR-3850.patch
          3 kB
          James Dyer

          Activity

            People

            • Assignee:
              jdyer James Dyer
              Reporter:
              jdyer James Dyer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: