fixed solr support and add word length and word count limit