Search and promote result not displaying in AEM page | Community
Skip to main content
SAJUSAM
August 28, 2017

Search and promote result not displaying in AEM page

  • August 28, 2017
  • 1 reply
  • 2596 views

I have Configured the Cloud Service and indexed the content in Search and promote. In Data view am able to see the indexed result.  i followed the adobe document also, But on search from AEM Page its not getting the result

Steps I followed:

1.Indexed the pages in search and promote using URL Entrypoints.

2.Connected the cloud Service            Result:success

3.Configured URI Remote center and Stage

4. Used out of box for search and result component.

Its redirecting on search form submit but not able to get the result from search and promote.

Status code 200;

Am using localhost author instance for search form and result display. Is there any issue with that?

If no, is there anything i have not followed?

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

1 reply

kautuk_sahni
Community Manager
Community Manager
August 29, 2017

Did you configure web pages to use this specific Search&Promote service?

//

  • Open the Page Properties dialog box. For example, on the Websites page, right-click the page and click Properties.
  • Click the Cloud Services tab.
  • To disable the inheritance of cloud services configurations from a parent page, click the padlock icon next to the inheritance path.
  • file
  • Click Add Service, select Adobe Search&Promote, and click OK.
  • Select the connection configuration for your Search&Promote account, and then click OK.

~kautuk

Kautuk Sahni
SAJUSAM
SAJUSAMAuthor
August 29, 2017

Thanks kautuksahni​ for your response.

I have already configured cloud Service to my pages where i am using Search. But still its not adding the result in the response.

SAJUSAM
SAJUSAMAuthor
August 30, 2017

Is your connection successful.

kautuksahni​ - is there any HELPX plan for this use case?


yeah connection is successful.

In search and promote am getting the result as XML, is there anything left?

Will my result component parse the XML response?

Below is my Error log:

Caused by: java.lang.NullPointerException

at com.day.cq.searchpromote.xml.result.Pagination.getResultPages(Pagination.java:64)

at org.apache.jsp.libs.cq.searchpromote.components.results.results_jsp._jspService(results_jsp.java:364)

at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)