Integrate Elasticsearch with the AutoComplete control

Hello,

I would like to integrate my elastic search engine with your  AutoComplete control, what would be the best way to achieve this?

5 Replies 1 reply marked as answer

SN Sevvandhi Nagulan Syncfusion Team May 26, 2021 08:36 AM UTC

Hi Barry, 


Greetings from Syncfusion support. 


We checked your query. We integrate the elastic search with the AutoComplete component attached it below for your reference. Refer the below sample. 




Please find the steps for running the sample. 

  1. Open the attached
  2. Setup your https://www.elastic.co/ trial account or install your ElasticSearch
  3. Set the URL and credentials to ElasticSearch in the appsettings.json
  4. Start the application and go to the "Data Seed" page. Click the button and wait for execution
  5. Go to the search page and start your quote search. Type the word “Buddha”.


Please refer the below link for more information about the elastic search. 




Kindly get back to us for further assistance. 


Regards, 
Sevvandhi N 


Marked as answer

MM Mark Meyer May 26, 2021 09:47 AM UTC

Thank you. It works great.


SN Sevvandhi Nagulan Syncfusion Team May 26, 2021 12:14 PM UTC

Hi Barry, 



We are glad to hear that the reported issue has been resolved. Please get back to us if you need further assistance. 



Regards, 
Sevvandhi N 



MM Mark Meyer May 28, 2021 09:41 AM UTC

I implemented my autocomplete search via an Elasticsearch service and it works fine except that the text box freezes up after every key press, how do I prevent this?

My service is asynchronous and so is the API that it connects to. I am injecting the service into my web assembly app where the search takes place.

EDIT: It looks like the problem is due to the autocomplete being inside a SfSchedule template, when I move it outside it works fine. However im not sure how to get it working (without freezing every keypress) within the scheduler. I have also noted that the more entities(ie Appointments) loaded inside the scheduler , the slower the response time.


SN Sevvandhi Nagulan Syncfusion Team May 31, 2021 07:14 AM UTC

Hi Barry, 


Thanks for your update. 


We checked your query. Can you please share the issue replicating sample in order to investigate the issue further at our end?. 


Regards, 
Sevvandhi N 


Loader.
Up arrow icon