spark-solr icon indicating copy to clipboard operation
spark-solr copied to clipboard

Terms filter style filter queries give error at SolrRelation.scala line 634

Open uyilmaz opened this issue 3 years ago • 0 comments

https://github.com/lucidworks/spark-solr/blob/340a82546cffcbc51561348208b2276b8a852b98/src/main/scala/com/lucidworks/spark/SolrRelation.scala#L634

def filterQueryAsTuple(fq: String) : (String,String) method expects all filter queries to include a colon character (:).

Terms parser filter queries, in the form {!terms field=id}123,456 gives the error java.lang.StringIndexOutOfBoundsException: String index out of range: -1

uyilmaz avatar Dec 06 '21 20:12 uyilmaz