Query Builder Full Text vs Property | Community
Skip to main content
Krishna_C
Level 3
October 16, 2015
Solved

Query Builder Full Text vs Property

  • October 16, 2015
  • 3 replies
  • 1416 views

Hello Everyone,

I am using query builder api for searching in the crx tree. I am able to successfully get the result using "fulltext" when i search against any of my custom properties.But when I use "fulltext" to search against "jcr:lastModifiedBy" it doesn't work , even "fulltext" works without even mentioning the property name against my custom properties. 

I am not able to understand the difference b/w using "fulltext" and "property" predicates .Can some one pleases explain me .

And do we have any restrictions with "fulltext"  search?

 

Thanks & Regards,

Krishna

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

THis is explained in this AEM documentation topic - and has examples too:

http://dev.day.com/docs/en/cq/current/dam/customizing_and_extendingcq5dam/query_builder.html

3 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

THis is explained in this AEM documentation topic - and has examples too:

http://dev.day.com/docs/en/cq/current/dam/customizing_and_extendingcq5dam/query_builder.html

Krishna_C
Krishna_CAuthor
Level 3
October 16, 2015

Thanks Scott,

I had went through that documentation earlier but couldn't find an answer .

Krishna

gcarlino
Adobe Employee
Adobe Employee
October 16, 2015

Hi

You can find more info here about fulltext: http://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/com/day/cq/search/eval/FulltextPredicateEvaluator.html

Fulltext will look everywhere.

If you want to look for a specific "jcr:lastModifiedBy", you should do something like this:

property=jcr:lastModifiedBy
property.value=author