How to make the search by columns in range case insensitive ?

2012-05-14 Thread Ertio Lew
I need to make a search by names index using entity names as column names
in a row. This data is split in several rows using the first 3 character of
entity name as row key  the remaining part as column name  col value
contains entity id.

But there is a problem, I m storing this data in a CF using byte type
comparator. I need to make case insensitive queries to retrieve 'n' no of
cols column names starting from a point.
Any ideas about how should I do that ?


Re: How to make the search by columns in range case insensitive ?

2012-05-14 Thread Dave Brosius
This could be accomplished with a custom 'CaseInsensitiveUTF8Type' 
comparator to be used as the comparator for that column family. This 
would require adding a class of your writing to the server.




On 05/14/2012 07:26 AM, Ertio Lew wrote:
I need to make a search by names index using entity names as column 
names in a row. This data is split in several rows using the first 3 
character of entity name as row key  the remaining part as column 
name  col value contains entity id.


But there is a problem, I m storing this data in a CF using byte type 
comparator. I need to make case insensitive queries to retrieve 'n' no 
of cols column names starting from a point.

Any ideas about how should I do that ?