I don't know how many columns there are in your column family, If there are
not too many columns , using Result.raw() may be a selection.

2011/7/28 Barış Can Daylık <[email protected]>

> 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