I just published another post on Data on the Rocks, a superblog with writers from around the world sharing their knowledge about the Qlik ecosystem.
Faster Smart Search, with Better Results (Data on the Rocks)
This post is for anybody who has seen or caused the dreaded progress bar above. Note that this is not the default behavior of Qlik, but appears only as the result of a change by the app developer.
- Developers: there is a compromise that enables fast reloads and no user waiting for the first search
- Users: forward this link to the people responsible for your apps!
Script complexity | Reload time | Extra user wait time | Search time | Search result quality | |
---|---|---|---|---|---|
Create search index during reload | ✓ | ✕ | ✓ | − | − |
Create search index on first search | ✓ | ✓ | ✕ | − | − |
Index during reload, but only included fields | − | ✓ | ✓ | ✓ | ✓ |
I'll provide our recommendations for when to use each of the approaches, plus some general development best practices that make it even easier to speed up search indexing.
Details can be found in the linked post.