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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.1, 4.0-BETA
    • 3.6.2, 4.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: