Custom search in AEM 6.3 | Community
Skip to main content
dhawanmayur
Level 2
Jan 19, 2018 1:24 PM UTC
Solved

Custom search in AEM 6.3

Hi,

I want to search the CRX (cq:Page and not DAM) based on some property like jcr:content/someId . How can it be acheived via the AEM search console. This functionality is to be given to non-technical people so that they can use it for searching pages with some particular someId.

Please share steps to implement such a solution and also how can it be tested.

Any help is appreciated.

Thanks

Mayur

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
VeenaVikraman
VeenaVikramanAccepted solution
New Participant
Feb 1, 2018 1:27 PM UTC

Mayur,

      Get in touch with your UI team and come up with a Mock HTML. Meanwhile , work on the usecases you need , like what you want to search, how the search should work, make all the decisions (I believe you already have an idea on what to develop) and once the HTML is ready you can start developing the page as you do a normal web page development. Is there something else you are specifically looking for ?

Thanks

Veena

13 replies

edubey
Level 10
Feb 1, 2018 6:52 PM UTC

I am not sure why you are complicating it.

Treat it as one of the configuration page. Build a search component, (should be able to leverage from OOTB)

Put it on a template for author. Restrict the access to it and don't publish this page.

Thanks

Translate
VeenaVikraman
VeenaVikramanAccepted solution
New Participant
Feb 1, 2018 1:27 PM UTC

Mayur,

      Get in touch with your UI team and come up with a Mock HTML. Meanwhile , work on the usecases you need , like what you want to search, how the search should work, make all the decisions (I believe you already have an idea on what to develop) and once the HTML is ready you can start developing the page as you do a normal web page development. Is there something else you are specifically looking for ?

Thanks

Veena

Translate
dhawanmayur
Level 2
Feb 1, 2018 10:06 AM UTC

Yes . The link Implementing a Custom Predicate Evaluator for the Query Builder  is helpful for that.

I want to know if there is any other way to build a custom search as mentioned by Veena

Thanks,

Mayur

Translate
Employee
Jan 31, 2018 6:50 PM UTC

Mayur, Serach Forms can be used for site pages as well.

Navigate to Search forms and customize the site Admin Search Rail.

Once Search form is updated, it can be used in sites console under Filters section. And it works for site pages as well.

Translate
smacdonald2008
Level 10
Jan 31, 2018 6:36 PM UTC

First, do you know how to use AEM QueryBuilder API within a custom Service?

Translate
dhawanmayur
Level 2
Jan 31, 2018 6:33 PM UTC

Ok. Are there steps to create a custom search page on author server ?

Any help will be appreciated

Translate
smacdonald2008
Level 10
Jan 29, 2018 3:49 PM UTC

Veena provided you the correct response. You need to create a custom search PAGE that can query page information. You can use the QueryBuilder API to perform the searches.

Translate
dhawanmayur
Level 2
Jan 29, 2018 12:17 PM UTC

Hi Abhishek,

The above applies only to Assets. The requirement is to search for pages.

Thanks,

Mayur

Translate
Employee
Jan 28, 2018 4:20 PM UTC

Have you checked the doc - https://helpx.adobe.com/experience-manager/6-3/assets/usin

It's easy to configure search facet mapped to custom property (non-technical people can also do it). However, for any query performance tuning activity for a custom property, technical people will be required to configure the indexes.

Regards,

Abhishek

Translate
dhawanmayur
Level 2
Jan 24, 2018 5:45 PM UTC

Hi ,

I want to give seach abitliy to non technical people who will be creating content. Is there a way to customize search facets so that they search on a custom property say pageId ?

thanks,

Mayur

Translate