]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1390] Cassandra: rename Metadata Facet column 'key' to 'facetKey'
authorCarlos Sanchez <carlos@apache.org>
Mon, 24 Nov 2014 19:00:03 +0000 (20:00 +0100)
committerCarlos Sanchez <carlos@apache.org>
Mon, 1 Dec 2014 15:48:31 +0000 (16:48 +0100)
The column 'key' can't be queried in Cassandra
Probably because 'key' is reserved for the element key or a limitation in Hector

archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/model/ColumnNames.java

index 7bbec29e6d7b5d9fbb1fe997dbcb172de7c5e467..fa819356093f368ef3e4f8285b256bb25ec4b73a 100644 (file)
@@ -32,7 +32,7 @@ public enum ColumnNames
     NAMESPACE_ID( "namespaceId" ),
     PROJECT_ID( "projectId" ),
     PROJECT_VERSION( "projectVersion" ),
-    KEY( "key" ),
+    KEY( "facetKey" ),
     VALUE( "value" ),
     ID( "id" ),
     SIZE( "size" ),