[ECODP-dev] solr exception

John Glover john.glover at okfn.org
Wed Nov 20 14:49:30 UTC 2013


Hi Bert,

Yes, that call is attempting to do a search but the 'start' parameter is
set to -20 which is not valid. 0 should be the lowest value sent, but this
seems like something that should really be caught in a validator. Is this
the result of an API call or is this something entered through the web UI?

John


On 20 November 2013 14:11, Bert Van Nuffelen <bert.van.nuffelen at tenforce.com
> wrote:

> Dear John,
>
> the next line contains the call:
>
> Nov 20, 2013 12:27:19 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select
> params={facet=true&fl=id+data_dict&sort=metadata_modified+desc&facet.mincount=1&start=-20&q=*:*&facet.limit=50&qf=title_en^8+text_en^4+title_el^2+text_el+title_it^2+text_it+title_ga^2+text_ga+title_cs^2+text_cs+title_et^2+text_et+title_es^2+text_es+title_nl^2+text_nl+title_pt^2+text_pt+title_lv^2+text_lv+title_lt^2+text_lt+title_ro^2+text_ro+title_pl^2+text_pl+title_fr^2+text_fr+title_bg^2+text_bg+title_hr^2+text_hr+title_de^2+text_de+title_da^2+text_da+title_fi^2+text_fi+title_hu^2+text_hu+title_sv^2+text_sv+title_sk^2+text_sk+title_mt^2+text_mt+title_sl^2+text_sl&wt=json&fq=+groups:"estat"+capacity:"public"+%2Bsite_id:"ecportal"+%2Bstate:active&rows=21}
> status=400 QTime=0
> Nov 20, 2013 12:29:47 PM org.apache.solr.core.SolrCore execute
>
> Bert
>
>
>
>
> 2013/11/20 Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>
>
>> Dear John,
>>
>> we see on odp,tenforce.com the next exception;
>>
>> INFO: [] webapp=/solr path=/select
>> params={facet=true&fl=id+data_dict&sort=title_string_ga+asc&facet.mincount=1&start=0&q
>>
>> =*:*&facet.limit=50&qf=title_ga^8+text_ga^4+title_el^2+text_el+title_en^2+text_en+title_it^2+text_it+title_cs^2+text_cs+t
>>
>> itle_et^2+text_et+title_es^2+text_es+title_nl^2+text_nl+title_pt^2+text_pt+title_lv^2+text_lv+title_lt^2+text_lt+title_ro
>>
>> ^2+text_ro+title_pl^2+text_pl+title_fr^2+text_fr+title_bg^2+text_bg+title_hr^2+text_hr+title_de^2+text_de+title_da^2+text
>>
>> _da+title_fi^2+text_fi+title_hu^2+text_hu+title_sv^2+text_sv+title_sk^2+text_sk+title_mt^2+text_mt+title_sl^2+text_sl&fac
>>
>> et.field=groups&facet.field=tags&facet.field=res_format&facet.field=license&wt=json&fq=+capacity:"public"+%2Bsite_id:"ecp
>> ortal"+%2Bstate:active&rows=21} hits=5495 status=0 QTime=16
>> Nov 18, 2013 4:15:46 AM org.apache.solr.common.SolrException log
>> SEVERE: org.apache.solr.common.SolrException: 'start' parameter cannot be
>> negative
>>         at
>> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:142)
>>         at
>> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195)
>>         at
>> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
>>         at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
>>         at
>> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
>>         at
>> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>         at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>         at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>         at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>         at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>         at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>         at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>>         at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
>>         at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>> :
>>
>>
>> is that something you can relate to ckan code?
>>
>> kind regards,
>>
>> Bert
>>
>> --
>> Bert Van Nuffelen
>>
>> Semantic Technologies Software Architect at TenForce
>> www.tenforce.be
>>
>> Bert.Van.Nuffelen at tenforce.com
>> Office: +32 (0)16 31 48 60
>> Mobile:+32 479 06 24 26
>> skype: bert.van.nuffelen
>>
>
>
>
> --
> Bert Van Nuffelen
>
> Semantic Technologies Software Architect at TenForce
> www.tenforce.be
>
> Bert.Van.Nuffelen at tenforce.com
> Office: +32 (0)16 31 48 60
> Mobile:+32 479 06 24 26
> skype: bert.van.nuffelen
>
> _______________________________________________
> ecodp-dev mailing list
> ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20131120/3b210c7b/attachment-0001.html>


More information about the ecodp-dev mailing list