Thanks for the pointers, so if I add a method to JcrMetadataRepository

getArtifactsByProperty(key, value)

similar to getArtifactsByDateRange, writing the correct JCR query, I could
access all that metadata?


In which of the rest services would it make sense to add such a search?



On Wed, Nov 5, 2014 at 11:28 AM, Olivier Lamy <[email protected]> wrote:

> Hi,
> The current SearchService search in maven indexer available datas.
> All the data you want to search are not available here but in the
> MetadataRepository ( so jcr, file or the new Cassandra).
> And currently there is no search methods for that!
> So really good news to see you as a volunteer to implement this! :-)
> Let me know if you need any pointers.
>
> Cheers
> Olivier
>
>
> On 4 November 2014 06:33, Carlos Sanchez <[email protected]> wrote:
> > Hi,
> >
> > Two things I wasn't able to do and was going to implement (unless I
> missed
> > something):
> >
> > * search for generic metadata
> > * search for pom contents
> >
> > The way the search queries are built in SearchService only looks for the
> > typical fields (artifactId, groupId,...), so that needs to be changed,
> but
> > I don't know if the pom and generic metadata fields are even indexed, any
> > pointers?
> >
> > Looking to be able to search for "myMetadata:myValue" and something like
> > "developer:carlos*" through the rest api and ui.
> >
> > Thanks
>
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>

Reply via email to