# How to Integrate Elasticsearch into Node.js

**URL:** <https://discuss.elastic.co/t/how-to-integrate-elasticsearch-into-node-js/172391>\
**Category:** Elasticsearch\
**Created:** [March 14, 2019, 4:49pm UTC](https://discuss.elastic.co/t/how-to-integrate-elasticsearch-into-node-js/172391 "2019-03-14T16:49:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hanifeoglu](https://avatars.discourse-cdn.com/v4/letter/h/d07c76/32.png) [@hanifeoglu](https://discuss.elastic.co/u/hanifeoglu)\
**Post date:** [March 14, 2019, 4:49pm UTC](https://discuss.elastic.co/t/how-to-integrate-elasticsearch-into-node-js/172391/1 "2019-03-14T16:49:36Z")

</div>

Hi Everyone, in my case mssql server complex query,  
Results from the database return too late,  
i try to solution in my-case i m need recommendation  
how to do all people 🙂 where i m used this is have a b2b web app in have filter menu if client select more then filter when send when select it send paramerter nodejs web services  
but more late return to data i m need to speed and i want used Elasticsearch but i m need iade  
thank you so much

my where clause

```
Where cdItem.ItemTypeCode=1
and cdItem.ProductTypeCode=1
AND PrItemVariant.IsBlocked=0
and cdItem.IsBlocked=0 
and ProductAttributes.ProductAtt12 = 'E'
and 
(
case when @WhereSearch =1 then ProductHierarchy.ProductHierarchyLevel02 
	when @WhereSearch =2 then ProductHierarchy.ProductHierarchyLevel03
	when @WhereSearch =3 then ProductAttributeDescriptions.ProductAtt01Desc
end
= @CategoryText 
)
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 11, 2019, 4:56pm UTC](https://discuss.elastic.co/t/how-to-integrate-elasticsearch-into-node-js/172391/2 "2019-04-11T16:56:31Z")

</div>

Closed on April 11, 2019, 4:56pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
