Cannot get partial search to work on custom metadata property in admin search rail | Community
Skip to main content
Level 3
April 4, 2023
Solved

Cannot get partial search to work on custom metadata property in admin search rail

  • April 4, 2023
  • 1 reply
  • 1114 views

Hello -- I am trying to enable the ability to perform a partial search from the Admin Search Rail and keep receiving a "null" message on screen.

 

Background:

  • I have a custom namespace "cgb" registered.
  • The custom metadata value I want to enable partial search on is called "cgbCustomerName"
  • I have created a property within our oak index (damAssetLucene-8) titled "cgbCustomerName" and set the "analyzed" property to "true" per the on screen warning that appears when selecting Partial Search when customizing the Admin Search Rail.
  • I have reindexed the oak index that contains this property and have run the Non-Production Pipeline to deploy in our Dev Environment.

 

Any help on this would be appreciated.

 

AEMaaCS Release (Development Environment): 2023.3.11382.20230315T073850Z

 

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 krati_garg

@ndlholm1 You will have to capture the query specific to your custom property cgb:CustomerName from Query Performance Console and check error logs relevant to this custom property

1 reply

krati_garg
Adobe Employee
Adobe Employee
April 5, 2023

Hi @ndlholm1 

Can you try capturing the query either from logs or query performance console and use Explain Query.

This will explain you, if the above index is being picked up by the query or not

ndlholm1Author
Level 3
April 5, 2023

I reviewed the error log and performed Explain Query. Below are the *WARN* and *ERROR* items that may be related to my issue. I've also included the information from Explain Query, but I'm not sure what I need to do next.

*WARN* [FelixStartLevel] org.apache.jackrabbit.oak.plugins.index.elastic.ElasticIndexProviderService The Elastic cluster at https://elasticsearch-master:9200/cm-p54903-e364010-author is not reachable. The index cleaner job has not been enabled *WARN* [FelixStartLevel] org.apache.jackrabbit.oak.plugins.index.elastic.ElasticConnection Error checking connection for https://elasticsearch-master:9200/cm-p54903-e364010-author, message: elasticsearch-master: Name or service not known *ERROR* [FelixLogListener] com.adobe.cq.dam.cfm.graphql.ContentFragmentPlugin bundle cq-dam-cfm-graphql:0.0.252 (189)[com.adobe.cq.dam.cfm.graphql.ContentFragmentPlugin(361)] : The bindGraphqlOptimizationToggleNotifier method has thrown an exception (java.lang.NullPointerException) *ERROR* [FelixLogListener] com.adobe.cq.dam.cfm.graphql.ContentFragmentPlugin bundle cq-dam-cfm-graphql:0.0.252 (189)[com.adobe.cq.dam.cfm.graphql.ContentFragmentPlugin(361)] : The bindGraphqlOptimizationToggleNotifier method has thrown an exception (java.lang.NullPointerException) *ERROR* [FelixStartLevel] com.adobe.fmdita.rest.folderprofiles.FolderProfilesAPI Error in initializing trie for folder profiles *WARN* [68.234.79.146 [1680695887267] GET /mnt/overlay/granite/ui/content/shell/omnisearch/searchresults/singleresults/searchpanel.asset.html HTTP/1.1] com.day.cq.wcm.core.impl.page.PageImpl page at /conf/global/settings/dam/search does not have a jcr:content childresource 05.04.2023 11:58:07.390 [cm-p54903-e364010-aem-author-85f4fcb7df-955wb] *WARN* [68.234.79.146 [1680695887267] GET /mnt/overlay/granite/ui/content/shell/omnisearch/searchresults/singleresults/searchpanel.asset.html HTTP/1.1] com.day.cq.wcm.core.impl.page.PageImpl page at /conf/global/settings/dam/search does not have a jcr:content childresource 05.04.2023 11:58:07.485 [cm-p54903-e364010-aem-author-85f4fcb7df-955wb] *ERROR* [68.234.79.146 [1680695887267] GET /mnt/overlay/granite/ui/content/shell/omnisearch/searchresults/singleresults/searchpanel.asset.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource JcrNodeResource, type=nt:unstructured, superType=null, path=/conf/global/settings/dam/search/facets/assets/jcr:content/items/channels 05.04.2023 11:58:07.527 [cm-p54903-e364010-aem-author-85f4fcb7df-955wb] *WARN* [68.234.79.146 [1680695887267] GET /mnt/overlay/granite/ui/content/shell/omnisearch/searchresults/singleresults/searchpanel.asset.html HTTP/1.1] com.day.cq.wcm.core.impl.page.PageImpl page at /conf/global/settings/dam/search does not have a jcr:content childresource

 

krati_garg
Adobe Employee
krati_gargAdobe EmployeeAccepted solution
Adobe Employee
April 6, 2023

@ndlholm1 You will have to capture the query specific to your custom property cgb:CustomerName from Query Performance Console and check error logs relevant to this custom property