# Need to implement Article search along with product search in PLP

**URL:** <https://community.bloomreach.com/t/need-to-implement-article-search-along-with-product-search-in-plp/1666>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [January 7, 2020, 11:43am UTC](https://community.bloomreach.com/t/need-to-implement-article-search-along-with-product-search-in-plp/1666 "2020-01-07T11:43:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmangala](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@rmangala](https://community.bloomreach.com/u/rmangala)\
**Post date:** [January 7, 2020, 11:43am UTC](https://community.bloomreach.com/t/need-to-implement-article-search-along-with-product-search-in-plp/1666/1 "2020-01-07T11:43:54Z")

</div>

Hi ,  
I want to implement to show both article and product results in the search page when we search \<keyword/term\> in the search box. Currently product search is working fine.  
Can you please suggest me how to do this?

Thanks,  
Ram

---

<div class="post-metadata">

**Author:** ![woonsanko](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woonsanko](https://community.bloomreach.com/u/woonsanko)\
**Post date:** [January 8, 2020, 1:18am UTC](https://community.bloomreach.com/t/need-to-implement-article-search-along-with-product-search-in-plp/1666/2 "2020-01-08T01:18:24Z")

</div>

Hi Ram,

Product data is searched from the non-JCR backend (e.g, brSM, or commerce backends such as commercetools or elasticpath) whereas content document are searched from JCR.  
And we don’t have any built-in solution to make single search query against both JCR and external backend.  
So, one option would be to add a custom command which searches documents from JCR and sets some attributes, and you can customize the rendering template to show the results together somehow.

Regards,

Woonsan

---

<div class="post-metadata">

**Author:** ![rmangala](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@rmangala](https://community.bloomreach.com/u/rmangala)\
**Post date:** [January 8, 2020, 11:59am UTC](https://community.bloomreach.com/t/need-to-implement-article-search-along-with-product-search-in-plp/1666/3 "2020-01-08T11:59:48Z")

</div>

Thanks for reply. Yes and Can we use EssentialsSearchComponent as a command because already this(documentypes search) was implemented . And also I have created searchCommand which extends AbstractStarterStoreCommand and try to get documents from JCR. Command bean is triggering but results are empty. Please share if you have any suggestions.

Thanks,  
Ram

---

<div class="post-metadata">

**Author:** ![woonsanko](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woonsanko](https://community.bloomreach.com/u/woonsanko)\
**Post date:** [January 8, 2020, 2:21pm UTC](https://community.bloomreach.com/t/need-to-implement-article-search-along-with-product-search-in-plp/1666/4 "2020-01-08T14:21:50Z")

</div>

> [@rmangala](#):
>
> Yes and Can we use EssentialsSearchComponent as a command because already this(documentypes search) was implemented .

`com.bloomreach.commercedxp.starterstore.commands.AbstractStarterStoreCommand` is different from `HstComponent`, only used in BR Accelerator (“StarterStore”), so you can’t use the `EssentialsSearchComponent` without converting its logic into a new `AbstractStarterStoreCommand` implementation.

> [@rmangala](#):
>
> And also I have created searchCommand which extends AbstractStarterStoreCommand and try to get documents from JCR. Command bean is triggering but results are empty. Please share if you have any suggestions.

Then I think you should debug why the result - I guess you mean the `HstQueryResult` right? - is empty.

Regards,

Woonsan
