Solr
  1. Solr
  2. SOLR-3850

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        James Dyer made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        James Dyer made changes -
        Attachment SOLR-3850.patch [ 12545749 ]
        James Dyer made changes -
        Field Original Value New Value
        Attachment SOLR-3850.patch [ 12545595 ]
        James Dyer created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development