Quantcast
Channel: DataStax Support Forums » Recent Topics
Viewing all articles
Browse latest Browse all 387

avon on "Error creating Solr indexes on CQL3 created tables"

$
0
0

Hi,

I created a table using CQL3 and subsequently went ahead to create a Solr index and encountered this error when curl-ing the solrconfig.xml.

CREATE TABLE receiptrepository (
CustomerId uuid,
ReceiptDate timestamp,
ReceiptId uuid,
MerchantName varchar,
MallName varchar,
PRIMARY KEY (CustomerId, ReceiptDate, ReceiptId, MerchantName, MallName)
);

curl --data-binary file=@solrconfig.xml -H 'Content-type:text/xml; charset=utf-8' http://192.168.56.135:8983/solr/resource/demodb.receiptrepository/solrconfig.xml (btw, solrconfig.xml is reused from wiki-solr demo)

error I get: "Solr indexes are not supported on ColumnFamilies with non-string comparators"

1. Could you explain what is wrong with the TABLE creation to elicit this response during solr index creation?
2. Also on a side note: when I executed the wiki-solr demo and launched the solr admin, I'm unable to see the full query interface and wiki-solr doesn't appear on the left menu option (below thread dump)


Viewing all articles
Browse latest Browse all 387

Trending Articles