问题
I want a query to perform following operation
List employees name either start or end with A
but i seen on some sites that cassandra do not support wildcard characters is it true or not
i also refered solr_query but cqlsh gives error undefined name solr_query
select * from emp where solr_query='name:A* or name:*A'; where name is coloumn
please help me out with this
回答1:
Full Text Search is only a feature of DataStax Enterprise. So for Apache Cassandra, you have no such facility.
Hope it helps!
来源:https://stackoverflow.com/questions/36721192/cqlsh-query-for-wildcard-characters