Histograms for easy searching


Photo applications such as KPhotoAlbum have shown that navigation by histograms can be very convenient. Prerequisite of such navigation is that you have fast access to numerical properties of the items you want to navigate. In Strigi, many numerical properties such as modification time, size, embedding depth, width or height are indexed. This enables Strigi to quickly make histograms of these properties. By clicking on a bar in the histogram, the user can quickly and intuitively focus on a subset the items that are shown.

Today I’ve committed code to SVN that allows any application talking to Strigi to easily get out histograms. With the call

A histogram showing the distribution of ‘depth’ for the hits resulting from the query. The depth is the nesting depth of a file. 0 means the file is not nested. 2 means the file is embedded in an embedded file.

A histogram showing the size distribution for the hits resulting from the query.


Post a comment