@Named(value="assets.attributes.docker.content_digest") @Singleton public class DockerContentDigestSearchContribution extends SearchContributionSupport
SearchContribution
(adds a prefix query for content_digest).Constructor and Description |
---|
DockerContentDigestSearchContribution() |
Modifier and Type | Method and Description |
---|---|
void |
contribute(org.elasticsearch.index.query.BoolQueryBuilder query,
String type,
String value)
Contribute to search query/filter.
|
escape
public DockerContentDigestSearchContribution()
public void contribute(org.elasticsearch.index.query.BoolQueryBuilder query, String type, String value)
SearchContribution
contribute
in interface SearchContribution
contribute
in class SearchContributionSupport
query
- to contribute totype
- type of filtervalue
- value of filterCopyright © 2008–2021 Sonatype, Inc.. All rights reserved.