{embed="includes/header"} {embed="includes/navigation"} Solarium examples
Fatal error: Uncaught exception 'Solarium\Exception\HttpException' with message 'Solr HTTP error: OK (400) {"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 'sm_field_year:[1520] sm_field_year:[ * TO *]': Encountered \" \"]\" \"] \"\" at line 1, column 19.\nWas expecting one of:\n \"TO\" ...\n <RANGE_QUOTED> ...\n <RANGE_GOOP> ...\n ","code":400}} ' in /home/ustc/solariumphp-solarium-0acdb28/library/Solarium/Core/Query/Result/Result.php:106 Stack trace: #0 /home/ustc/solariumphp-solarium-0acdb28/library/Solarium/Core/Client/Client.php(742): Solarium\Core\Query\Result\Result->__construct(Object(Solarium\Client), Object(Solarium\QueryType\Select\Query\Query), Object(Solarium\Core\Client\Response)) #1 /home/ustc/solariumphp-solarium-0acdb28/library/Solarium/Core/Client/Client.php(774): Solarium\Core\Client\Client->createResult(Object(Solarium\QueryType\Select\Query\Query), O in /home/ustc/solariumphp-solarium-0acdb28/library/Solarium/Core/Query/Result/Result.php on line 106