


Hi,
I am using a query for DAM Asset full text search as below
type=dam:Asset
path=/content/dam/we-retail
fulltext=application
fulltext.relPath=jcr:content/renditions/original/jcr:content
This application keyword is part of the documents which I am searching for however, this is also present as mimeType property on "jcr:content/renditions/original/jcr:content" node due to which I am getting much more results from expectations.
Is there a way to ignore this mimeType property while performing the search?
Note- I tried the option of excluding the property as below but with that, I don't get any results.
"property", "jcr:mimeType"
"property.operation", "not"
Any suggestions would be really helpful. Thanks in advance.
Views
Replies
Sign in to like this content
Total Likes
what do you mean by ignoring the mimeType property?
With the conditions that you provided, it will check if mmeType does not exists
type=dam:Asset
path=/content/dam/we-retail
fulltext=application
fulltext.relPath=jcr:content/renditions/original/jcr:content
property=jcr:mimeType
property.operation=not
/jcr:root/content/dam/we-retail//element(*, dam:Asset)
[
(jcr:contains(jcr:content/renditions/original/jcr:content, 'application')
and not(@jcr:mimeType))
]
what do you mean by ignoring the mimeType property?
With the conditions that you provided, it will check if mmeType does not exists
type=dam:Asset
path=/content/dam/we-retail
fulltext=application
fulltext.relPath=jcr:content/renditions/original/jcr:content
property=jcr:mimeType
property.operation=not
/jcr:root/content/dam/we-retail//element(*, dam:Asset)
[
(jcr:contains(jcr:content/renditions/original/jcr:content, 'application')
and not(@jcr:mimeType))
]