{"issue":{"created_at":"2011-12-15T13:29:29Z","state":"open","updated_at":"2011-12-15T13:29:48Z","comments":1,"user":{"gravatar_id":"f0a5c758979a0b18201eb8356676de99","id":1255293,"url":"https://api.github.com/users/msplash9","avatar_url":"https://secure.gravatar.com/avatar/f0a5c758979a0b18201eb8356676de99?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"msplash9"},"body":"I am trying to use spree solr search plugin .Installation part worked\r\nfine\r\n\r\nBut when i execute rake solr:reindex BATCH=500\r\n\r\nClearing index for Product...\r\nrake aborted!\r\n400 \"Bad Request\"\r\n\r\nTasks: TOP => solr:reindex \r\n\r\n\r\nCan u please check that .\r\n\r\nThis is my log file \r\n\r\nSEVERE: org.apache.solr.common.SolrException: org.apache.lucene.queryParser.ParseException: Cannot parse '{:rows=>25000, :start=>0, :operator=>nil, :facets=>{:limit=>-1, :mincount=>1, :fields=>[\"price_range_facet\", \"taxon_names_facet\", \"brand_property_facet\", \"color_option_facet\", \"size_option_facet\"]}, :filter_queries=>[], :field_list=>[\"pk_s\", \"score\"], :query=>\"(sadasd AND is_active_t:(true)) AND (type_s:Product)\"}': Encountered \" <RANGEEX_GOOP> \":operator=>nil, \"\" at line 1, column 26.\r\nWas expecting:\r\n    \"}\" ...\r\n\r\n        at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:108)\r\n        at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:174)\r\n        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)\r\n        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)\r\n        at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)\r\n        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)\r\n        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\r\n        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\r\n        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\r\n        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\r\n        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\r\n        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\r\n        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\r\n        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\r\n        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)\r\n        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\r\n        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\r\n        at java.lang.Thread.run(Thread.java:679)\r\nCaused by: org.apache.lucene.queryParser.ParseException: Cannot parse '{:rows=>25000, :start=>0, :operator=>nil, :facets=>{:limit=>-1, :mincount=>1, :fields=>[\"price_range_facet\", \"taxon_names_facet\", \"brand_property_facet\", \"color_option_facet\", \"size_option_facet\"]}, :filter_queries=>[], :field_list=>[\"pk_s\", \"score\"], :query=>\"(sadasd AND is_active_t:(true)) AND (type_s:Product)\"}': Encountered \" <RANGEEX_GOOP> \":operator=>nil, \"\" at line 1, column 26.\r\nWas expecting:\r\n    \"}\" ...\r\n\r\n        at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:205)\r\n        at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:78)\r\n        at org.apache.solr.search.QParser.getQuery(QParser.java:131)\r\n        at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:89)\r\n        ... 17 more\r\nCaused by: org.apache.lucene.queryParser.ParseException: Encountered \" <RANGEEX_GOOP> \":operator=>nil, \"\" at line 1, column 26.\r\nWas expecting:\r\n    \"}\" ...\r\n\r\n        at org.apache.lucene.queryParser.QueryParser.generateParseException(QueryParser.java:1846)\r\n        at org.apache.lucene.queryParser.QueryParser.jj_consume_token(QueryParser.java:1728)\r\n        at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1538)\r\n        at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1337)\r\n        at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1265)\r\n        at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1254)\r\n        at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:200)\r\n        ... 20 more\r\n\r\n15 Dec, 2011 5:02:50 PM org.apache.solr.core.SolrCore execute\r\nINFO: [core0] webapp=/solr path=/select/ params={indent=on&start=0&q={:rows%3D>25000,+:start%3D>0,+:operator%3D>nil,+:facets%3D>{:limit%3D>-1,+:mincount%3D>1,+:fields%3D>[\"price_range_facet\",+\"taxon_names_facet\",+\"brand_property_facet\",+\"color_option_facet\",+\"size_option_facet\"]},+:filter_queries%3D>[],+:field_list%3D>[\"pk_s\",+\"score\"],+:query%3D>\"(sadasd+AND+is_active_t:(true))+AND+(type_s:Product)\"}&rows=10&version=2.2} status=400 QTime=34\r\nroot@ispconfig:/var/www/giftonomics.empressem.in/s6/sp6#\r\n","assignee":null,"id":2566533,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":18,"title":"Plugin 400 \"Bad Request\" ","html_url":"https://github.com/romul/spree-solr-search/issues/18","closed_at":null,"milestone":null,"url":"https://api.github.com/repos/romul/spree-solr-search/issues/18"},"action":"created","comment":{"created_at":"2011-12-15T13:29:48Z","updated_at":"2011-12-15T13:29:48Z","user":{"gravatar_id":"f0a5c758979a0b18201eb8356676de99","id":1255293,"url":"https://api.github.com/users/msplash9","avatar_url":"https://secure.gravatar.com/avatar/f0a5c758979a0b18201eb8356676de99?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"msplash9"},"body":"Please check the parse error","id":3160940,"url":"https://api.github.com/repos/romul/spree-solr-search/issues/comments/3160940"}}