Solr Block Join Parent Query Parser range query search error -
i using solr 6.1.0, , i'm indexing parent-child data solr.
when query, use block join parent query parser, return parent's records, , not of child records, though there might match in child record.
however, not able range query child record. example, if search query q= +title:join +{!parent which="content_type:parentdocument"}range_f:[2 8]
i following error:
{ "responseheader":{ "zkconnected":true, "status":400, "qtime":3}, "error":{ "metadata":[ "error-class","org.apache.solr.common.solrexception", "root-error-class","org.apache.solr.parser.parseexception"], "msg":"org.apache.solr.search.syntaxerror: cannot parse 'range_f:[2': encountered \"<eof>\" @ line 1, column 18.\r\nwas expecting 1 of:\r\n \"to\" ...\r\n <range_quoted> ...\r\n <range_goop> ...\r\n ", "code":400}}
what issue here?
regards,
edwin
try with:
q= +title:join +_query:"{!parent which=\"content_type:parentdocument\"}range_f:[2 8]"
Comments
Post a Comment