Package org.ametys.plugins.ai.search
Class ContentChunkQuery
java.lang.Object
org.ametys.cms.search.query.AbstractOperatorQuery<List<String>>
org.ametys.cms.search.query.AbstractMultivaluedQuery<String>
org.ametys.plugins.ai.search.ContentChunkQuery
Query testing the contentId of a resource (content attachment).
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator -
Field Summary
Fields inherited from interface org.ametys.cms.search.query.Query
BOOL_FILTER, BOOL_MUST, BOOL_MUST_NOT, BOOL_SHOULD -
Constructor Summary
ConstructorsConstructorDescriptionContentChunkQuery(String... contentIds) Create an ContentAttachmentQuery which searches on resources attached to the given content.ContentChunkQuery(List<String> contentIds) Create an ContentAttachmentQuery which searches on resources attached to the given content. -
Method Summary
Methods inherited from class org.ametys.cms.search.query.AbstractMultivaluedQuery
build, buildAsJson, equals, hashCode, singleValueForQueryMethods inherited from class org.ametys.cms.search.query.AbstractOperatorQuery
getFieldName, getOperator, getValue, rewrite, valueForQuery
-
Constructor Details
-
ContentChunkQuery
Create an ContentAttachmentQuery which searches on resources attached to the given content.- Parameters:
contentIds- the content ids
-
ContentChunkQuery
Create an ContentAttachmentQuery which searches on resources attached to the given content.- Parameters:
contentIds- the content ids
-