I have a column family defined as:

create column family LSItemIdsByFieldValueIndex_Integer
 with column_type = 'Standard'
and comparator = 'CompositeType(org.apache.cassandra.db.marshal.IntegerType,org.apache.cassandra.db.marshal.UTF8Type)'
 and default_validation_class = 'UTF8Type'
 and key_validation_class = 'UTF8Type';

This snippet of code:

   result=searchIndex.get_range(column_count=1)
   for key,columns in result:
       print '\t',key
       indexData=searchIndex[indexCF].xget(key)
       for name, value in indexData:
           print name

does not correctly print column name as parsed into a tuple of two parts.

Am I doing something wrong here ?



--
Regards,
Oleg Dulin
http://www.olegdulin.com


Reply via email to