]> source.dussan.org Git - archiva.git/commit
[MRM-1390] Implement search methods for generic metadata and properties in Cassandra...
authorCarlos Sanchez <carlos@apache.org>
Sun, 23 Nov 2014 10:34:24 +0000 (11:34 +0100)
committerCarlos Sanchez <carlos@apache.org>
Mon, 1 Dec 2014 15:48:31 +0000 (16:48 +0100)
commit4e5d1183c31651680e8266198f41c4464647b28d
tree7f46a83bbcf55ea46344a1e0ee6935b63fd85d17
parente4da1fa6f5a56bbf63bae1de7d1b7dd0ae0375aa
[MRM-1390] Implement search methods for generic metadata and properties in Cassandra store

Some caveats with Cassandra implementation:

We can't search artifacts by any (wildcard) property, so searchArtifacts(text,...) just calls getArtifactsByMetadata
The exact parameter is ignored as we can't do non exact searches in Cassandra
archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java
archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraUtils.java
archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/model/MetadataFacetModel.java
archiva-modules/plugins/metadata-store-cassandra/src/test/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepositoryTest.java
archiva-modules/plugins/metadata-store-jcr/src/main/java/org/apache/archiva/metadata/repository/jcr/JcrMetadataRepository.java