Do you mean that all items are in one row?  That implies that there are not 
very many items, and you should be able to do a quick sort in memory (since the 
values from one row are in memory anyway)

Dave

-----Original Message-----
From: Barış Can Daylık [mailto:[email protected]] 
Sent: Thursday, July 28, 2011 4:31 AM
To: [email protected]
Subject: Column Indexing - Top N Columns

Hi everyone,

I do have a column family where I store counts of items under each 
column, and I need to have top N columns (items) sorted by count 
descending. I know hbase doesn't sort columns by value and do not have 
an indexing option to do so. But as I searched I found out a patch 
(IHbase) for this indexing job. However I'm not able to find out a way 
to get only the top N columns even by using IHbase.

Can you suggest an example usage? Or another patch or tool for this job? 
Can lucene be used in such a scenario?

Thanks
Baris

p.s. Column values are positive integers.

Reply via email to