archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlossg <...@git.apache.org>
Subject [GitHub] archiva pull request: [MRM-1390] Add REST methods to search JCR st...
Date Mon, 24 Nov 2014 19:04:15 GMT
GitHub user carlossg opened a pull request:

    https://github.com/apache/archiva/pull/14

    [MRM-1390] Add REST methods to search JCR store for generic metadata and properties

    Add REST methods to search JCR store for generic metadata and properties
    
    Added REST methods:
    
    artifactsByProjectVersionMetadata/{key}/{value}
    artifactsByMetadata/{key}/{value}
    artifactsByProperty/{key}/{value}
    searchArtifacts/{text}
    searchArtifacts/{key}/{text}
    
    In JCR implementation When searching into any property (key = nil) we can't do exact searchs
    
    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
    
    
    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


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/carlossg/archiva metadata-search

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/archiva/pull/14.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #14
    
----
commit eeb51f8c35139d838436623e07b14b22ce1a071f
Author: Carlos Sanchez <carlos@apache.org>
Date:   2014-11-24T18:47:57Z

    Commit f4f7c97 changed the name of metadata facet key and value columns
    
    Restore to the previous one

commit bbb7e6cbca4b52bac06ef9b3990618b75c299e73
Author: Carlos Sanchez <csanchez@maestrodev.com>
Date:   2014-11-05T19:11:08Z

    [MRM-1390] Add REST methods to search JCR store for generic metadata and properties
    
    Added REST methods:
    
    artifactsByProjectVersionMetadata/{key}/{value}
    artifactsByMetadata/{key}/{value}
    artifactsByProperty/{key}/{value}
    searchArtifacts/{text}
    searchArtifacts/{key}/{text}
    
    In JCR implementation When searching into any property (key = nil) we can't do exact searchs

commit f10439914ad6f1fdbfd887fdad7c4f073513bd5c
Author: Carlos Sanchez <carlos@apache.org>
Date:   2014-11-24T09:54:32Z

    [MRM-1390] Bump version to 2.2

commit ac100c1cecce80736703f49ada9b0eb5cbe5a279
Author: Carlos Sanchez <carlos@apache.org>
Date:   2014-11-23T10:34:24Z

    [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

commit 2fd2a550dd334e068f4d10da6d9d3a1a3e11c06a
Author: Carlos Sanchez <carlos@apache.org>
Date:   2014-11-24T19:00:03Z

    [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

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message