How to implement search functionality using AEM 6.0 | Community
Skip to main content
October 16, 2015
Solved

How to implement search functionality using AEM 6.0

  • October 16, 2015
  • 3 replies
  • 2568 views

Hi All,

I need to implement search functionality on my home page using AEM 6.0.

When I write some text like dinning it will show me list of restaurants near by my location.

Thanks

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 component example searches the JCR. However - using JS logic and a custom service on the back end (Java/OSGi), you can build a component that knows how to search the internet for content.  ie:

http://stackoverflow.com/questions/3727662/how-can-you-search-google-programmatically-java-api

One of the powerful features of AEM is being able to develop custom services via Java and OSGi bundles. 

3 replies

smacdonald2008
Level 10
October 16, 2015

There is a good discussion on this use case in this topic:

[img]Search.png[/img]

See: http://docs.adobe.com/docs/en/aem/6-0/develop/the-basics/website.html

October 16, 2015

Hi,

Thanks for the link.

Search component is used for site search within CQ application content. Could we also use Search component for internet search ? or it's already their in Search script ?

Thanks

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

This component example searches the JCR. However - using JS logic and a custom service on the back end (Java/OSGi), you can build a component that knows how to search the internet for content.  ie:

http://stackoverflow.com/questions/3727662/how-can-you-search-google-programmatically-java-api

One of the powerful features of AEM is being able to develop custom services via Java and OSGi bundles.