Expand my Community achievements bar.

SOLVED

Where can I find list of all QueryBuilder options such as query.index, orderby.index, etc. as well as their documentation?

Avatar

Level 7

Hi,

Here, some of these options are used throughout the examples, but are they listed and documented somewhere?

Thanks,
Behrang 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
6 Replies

Avatar

Level 10

You referenced the main docs on this subject - if they are not up to your satisfaction - please file a ticket here:

http://helpx.adobe.com/marketing-cloud/experience-manager.html

Avatar

Level 9

That is the official link from Adobe for querybuilder options, it includes all the options. However if you want more robust queries you can do jcr queries, it includes many options.

You can find more details here.

http://docs.adobe.com/docs/en/crx/current/developing/searching_in_crx.html

Avatar

Level 7

That page does not have the complete list of all the possible options. It only contains some examples that use one or more of the available options, and even the ones that are listed there are not explained in detail.

For example, what's the difference between:

  • query.index=true and query.index=false
  • orderby.index=true and orderby.index=false

Thanks,
Behrang

Avatar

Level 7

Do you know what's the purpose of orderby.index = true vs false?

Thanks,
Behrang

Avatar

Level 7

Behrang - in general you wont find much useful documentation on this unless it lives on the QueryBuilder doc page you mentioned. I struggled to find how a lot of the query builder options worked and what the PredicateEvaluator properties did. I suggest looking through the PredicateEvaluator API as they sometimes give a meaningful description of the PredicateEvaluator and its options, but not always. 

I found that using the local QueryBuilder debug page (http://localhost:4502/libs/cq/search/content/querydebug.html) and just playing with the options to see what Xpath is generated, then google what you see. All QueryBuilder searches evaluate to more meaningful Xpath that you have more documentation available on.

Cheers

Avatar

Correct answer by
Community Advisor