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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

          Activity

            People

            • Assignee:
              jdyer James Dyer
              Reporter:
              jdyer James Dyer

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment