summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Sanchez <carlos@apache.org>2014-11-24 20:00:03 +0100
committerCarlos Sanchez <carlos@apache.org>2014-12-01 16:48:31 +0100
commitdb8c78d4d750c6d1cdd1094004d3663f8df44667 (patch)
tree6ff5f48dfc98d0db1536d4ac5618716caa3c9269
parent4e5d1183c31651680e8266198f41c4464647b28d (diff)
downloadarchiva-db8c78d4d750c6d1cdd1094004d3663f8df44667.tar.gz
archiva-db8c78d4d750c6d1cdd1094004d3663f8df44667.zip
[MRM-1390] Cassandra: rename Metadata Facet column 'key' to 'facetKey'
The column 'key' can't be queried in Cassandra Probably because 'key' is reserved for the element key or a limitation in Hector
-rw-r--r--archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/model/ColumnNames.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/model/ColumnNames.java b/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/model/ColumnNames.java
index 7bbec29e6..fa8193560 100644
--- a/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/model/ColumnNames.java
+++ b/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/model/ColumnNames.java
@@ -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" ),