mirror of https://github.com/apache/lucene.git
SOLR-3850: rename "cachePk" back to "cacheKey"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387681 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dc84d8b49f
commit
4130617f69
|
@ -248,6 +248,9 @@ Bug Fixes
|
|||
* SOLR-3777: Dataimport-UI does not send unchecked checkboxes (Glenn MacStravic
|
||||
via steffkes)
|
||||
|
||||
* SOLR-3850: DataImportHandler "cacheKey" parameter was incorrectly renamed "cachePk"
|
||||
(James Dyer)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -238,15 +238,13 @@ public class DIHCacheSupport {
|
|||
*/
|
||||
public static final String CACHE_FOREIGN_KEY = "cacheLookup";
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Specify the Primary Key field from this Entity to map the input records
|
||||
* with
|
||||
* </p>
|
||||
*/
|
||||
public static final String CACHE_PRIMARY_KEY = "cachePk";
|
||||
public static final String CACHE_PRIMARY_KEY = "cacheKey";
|
||||
/**
|
||||
* <p>
|
||||
* If true, a pre-existing cache is re-opened for read-only access.
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
processor="SqlEntityProcessor"
|
||||
dataSource="hsqldb"
|
||||
cacheImpl="SortedMapBackedCache"
|
||||
cachePk="CODE"
|
||||
cacheKey="CODE"
|
||||
cacheLookup="People.COUNTRY_CODE"
|
||||
|
||||
query="SELECT CODE, COUNTRY_NAME FROM COUNTRIES"
|
||||
|
|
|
@ -101,7 +101,7 @@ public class TestEphemeralCache extends AbstractDataImportHandlerTestCase {
|
|||
" processor=\"SqlEntityProcessor\"" +
|
||||
" cacheImpl=\"org.apache.solr.handler.dataimport.DestroyCountCache\"" +
|
||||
" cacheName=\"CHILD\"" +
|
||||
" cachePk=\"id\"" +
|
||||
" cacheKey=\"id\"" +
|
||||
" cacheLookup=\"PARENT.id\"" +
|
||||
" fieldNames=\"id, child1a_mult_s, child1b_s\"" +
|
||||
" fieldTypes=\"BIGDECIMAL, STRING, STRING\"" +
|
||||
|
@ -111,7 +111,7 @@ public class TestEphemeralCache extends AbstractDataImportHandlerTestCase {
|
|||
" name=\"CHILD_2\"" +
|
||||
" processor=\"SqlEntityProcessor\"" +
|
||||
" cacheImpl=\"org.apache.solr.handler.dataimport.DestroyCountCache\"" +
|
||||
" cachePk=\"id\"" +
|
||||
" cacheKey=\"id\"" +
|
||||
" cacheLookup=\"PARENT.id\"" +
|
||||
" query=\"SELECT * FROM CHILD_2\" " +
|
||||
" />" +
|
||||
|
|
Loading…
Reference in New Issue