Developer forum

Forum » CMS - Standard features » Will i get performance problems with categorized typeahead search in new index?

Will i get performance problems with categorized typeahead search in new index?

Hans Ravnsfjall
Hans Ravnsfjall
Reply

I am working on a typeahead search, where I have 8 different categories. The categories are set as a radiobuttonlist in page properties.

In order to structure my results, the only way I can get this to work is by making a query pr. category. And in order to publish the results, I have to add a paragraph containing querypublisher for each of my queries.

That means I will have 8 queries, and 8 modules attach to the result page. Will this hold up performance wise for a typeahead search, or is there another way to solve this for a better performance?

All help is appreciated.

 

Ragards Hans


Replies

 
Nicolai Pedersen
Reply

Yes, probably.

You can make a search and a qp to be as fast as 50 ms, but times 8 that will be slow for a typeahead.

 
Hans Ravnsfjall
Hans Ravnsfjall
Reply

Nicolai, do you have any suggestion on how I can make it like the attached image shows, wile obtaining a good enough performance?

All the results in the list are pages, and I do want to show 2 from each category onKeyUp or something like that.

 

On this page, I have 6 QP running 6 queries, and so far - the time says 80 ms. But I donĀ“t get that many results yet. http://landsverk.dw9.dynamicweb-cms.com/fo-fo/leiting?Leita=Loyvir&Debug=True

I would really appreciate your help, as we have a deadline aproaching very fast.

Regards Hans

Screen_Shot_2017-06-01_at_3.30.04_PM.png

 

You must be logged in to post in the forum