Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
mikelutomski
Not applicable

PreLoad Smart Search in Qlik Sense

Is there a way to PreLoad the Smart Search in Qlik Sense?

We are running into instances where it takes up to a minute for the Smart Search to finish loading prior to the results returning.

We have more than enough RAM to make the Smart Search efficient, but it's still taking a while for these to populate.

Can this be scheduled?  Or is there a checkbox somewhere that stores the search in memory?

We would like to avoid somebody having to manually open each application in the morning prior to our end users accessing them.

Thanks.

-Mike

1 Solution

Accepted Solutions
vkish16161
Not applicable

Re: PreLoad Smart Search in Qlik Sense

‌You can use the EXCLUDE keyword ( https://help.qlik.com/en-US/sense/June2017/Subsystems/Hub/Content/Scripting/ScriptRegularStatements/...  )

This will help you exclude any fields that you think are unnecessary.

Typically if fields are 'string' intensive, smart search takes lot of time to parse.

Numeric fields shouldn't take much time to parse

8 Replies
jharder22
Not applicable

Re: PreLoad Smart Search in Qlik Sense

Hi Mike,

I have the same issue, particularly in larger apps - Looks like this was never answered - did you figure something out on your own.?

Thanks

vkish16161
Not applicable

Re: PreLoad Smart Search in Qlik Sense

‌You can use the EXCLUDE keyword ( https://help.qlik.com/en-US/sense/June2017/Subsystems/Hub/Content/Scripting/ScriptRegularStatements/...  )

This will help you exclude any fields that you think are unnecessary.

Typically if fields are 'string' intensive, smart search takes lot of time to parse.

Numeric fields shouldn't take much time to parse

mikelutomski
Not applicable

Re: PreLoad Smart Search in Qlik Sense

Unfortunately no, I haven't figured anything out yet.

I thought I had heard this was going to be a possibility in a future release, but that doesn't seem to be the case yet.

mikelutomski
Not applicable

Re: PreLoad Smart Search in Qlik Sense

vkish16161‌, I am only pulling in the records that are being used in the application.  Nothing extra is coming in.  It's just a very large data set.

mikelutomski
Not applicable

Re: PreLoad Smart Search in Qlik Sense

vkish16161‌,

I guess I should have read the link you sent. 

jharder22 ,this allows you to Include or Exclude fields in the SmartSearch only.  Has nothing to do with the rest of the application. Might work for your large application too.

Thank you!!

-Mike

m_schindler
Not applicable

Re: PreLoad Smart Search in Qlik Sense

Hello Mike,

although they are just used for pre opening sheets and objects you could try one the "Cache warmer/initializer" applications (and maybe modify one of them to search once so that smart search will be initialized):

http://branch.qlik.com/#!/project/56728f52d1e497241ae69811 - Directlink to github if branch is still down: GitHub - JoeBickley/CacheInitializer: A tool for Qlik Sense to cache warm applications to RAM)


http://help.qlik.com/en-US/sense-developer/June2017/Subsystems/NetSDKAPI/Content/CodeExamples/App-Pr...Source:  GitHub - AptkQlik/PublicExamples

Mathias

mikelutomski
Not applicable

Re: PreLoad Smart Search in Qlik Sense

Awesome.  Thanks Mathias.  I'll give it a try.

jharder22
Not applicable

Re: PreLoad Smart Search in Qlik Sense

Perfect, Thank you