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

You want to group the results of your typeahead?

The only way I can think of is to use facets and do the search 8 times, but not sure that is better... Lucene supports it, but currently Lucene for .NET do not support grouped search results, so we canot even make it a feature.

Btw: 8 categories is a lot if you show i.e. 3 items fom each category will give you 24 results...

 

You must be logged in to post in the forum