Live search is very useful but there is a small annoyance with it that has started to grow on me:
If I intend to search for something, say, "bookends", and type that into the search field, I often end up with an empty window and wonder what went wrong. Then I notice that it has actually searched for something like "bokends" or "booknds" because it missed a keystroke while it was busy doing other things (searching, I presume). So I have to type really slowly to make live search work.
Would it be possible to either have bookends "listen" to keystrokes even though it is busy searching, or, introduce a (longer?) lag between typing a letter and actually performing the search?
Best regards,
live search
Re: live search
I can't reproduce this. How big is your database? Perhaps you need to increase the database cache and relaunch?
Jon
Sonny Software
Jon
Sonny Software
Re: live search
The database holds around 2200 references (~900 holding attachments) and the cache is set to 8 mb. The database file itself is 12.6 mb.Jon wrote:I can't reproduce this. How big is your database? Perhaps you need to increase the database cache and relaunch?
Jon
Sonny Software
I tried doubling the cache and it does seem to help. What would the recommended cache size be?
Re: live search
It is empirical -- so you've answered the question yourself. Based on my experience, for 2K I'd set it to 10 MB, for 5K to 12 MB, and so forth. The number of attachments shouldn't matter. Don't just jack the cache up to a very large number because there is a penalty in launch time if you do.
Jon
Sonny Software
Jon
Sonny Software
Re: live search
Jon wrote:It is empirical -- so you've answered the question yourself. Based on my experience, for 2K I'd set it to 10 MB, for 5K to 12 MB, and so forth. The number of attachments shouldn't matter. Don't just jack the cache up to a very large number because there is a penalty in launch time if you do.
Jon
Sonny Software
OK, thanks!
Re: live search
I am bumping this topic again, as it turns out I still have problems with this.
I realize I should note that it only becomes a problem when I have set Bookends to display a pdf preview below the reference list. So apparently, Bookends becomes "deaf" while it is busy drawing the preview.
I have tried increasing the cache from 16 to 20 and 30 without much difference.
Best regards, Niklas
I realize I should note that it only becomes a problem when I have set Bookends to display a pdf preview below the reference list. So apparently, Bookends becomes "deaf" while it is busy drawing the preview.
I have tried increasing the cache from 16 to 20 and 30 without much difference.
Best regards, Niklas
Re: live search
Try uncheckng "Use Webkit to display pdfs". And reduce the cache -- its not helping for a db that small, just increasing launch times.
Jon
Sonny Software
Jon
Sonny Software
Re: live search
Ah, thanks. That did help.