Hi all,<div><br></div><div>while experimenting with Sembrowser, I found out that having many tagged files and/or many tags can bring to long query times, so I was wondering if we should consider a limit, in the faceted browsing, in the number of results shown; for now it may just be a problem of query optimization, in fact the current version asks Soprano for all the tagged files and for all the tags names, and then for each tag the file count (based on the other constraints), but I do not know how much this can be optimized.</div>

<div><br></div><div>As related to the question above: I think I missed something in the model handling, for getting a parallel execution of the query, separated from the UI thread; the Smartsave model works correctly, so I copied over the code handling the query execution, which is just a QMetaObject::invokeMethod, and in the invoked method I&#39;m using the async query from Soprano; however, in Sembrowser the UI still freezes while loading tags: am I missing something?</div>

<div><br></div><div>(the file is src/tagsfacet.cpp, in Sembrowser on Gitorious)<br clear="all"><br>-- <br>Sivieri Alessandro<br><a href="mailto:alessandro.sivieri@gmail.com">alessandro.sivieri@gmail.com</a><br><a href="http://www.chimera-bellerofonte.eu/">http://www.chimera-bellerofonte.eu/</a><br>

<a href="http://www.poul.org/">http://www.poul.org/</a><br>
</div>