I'm using HBase 0.90 for data storing and Solr 3.6 to query on my DB. Is there any query that returns how many times a pattern matches in my DB?
I can get the result that I want using this shell command
curl "<ToSolrRequest>" | egrep -o '<MatchingPattern>' | sort | uniq -c
I want to obtain the same result using a query of Solr/Lucene. How can i do it?