lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Commented] (SOLR-3810) I have different numFound between json and xml parser
Date Fri, 14 Sep 2012 00:30:07 GMT


Hoss Man commented on SOLR-3810:

There's not a lot of info here to help diagnose might be happening.  can you provide any more
details about your setup?

do you have any default params or non standard components declared in your "/select" handler
config? how does your solrconfig.xml differ from the 4.0-BETA config?

what kind of numFound do you see using any of the other response writers?

what numFound do you get when querying the individual shards with various response writers?

wild guess: did you load all of your data before executing any queries?  is it possible that
your web browser cached the response of one of those requests while some data was still being
loaded? (ie: what does the <httpCaching> section of your solrconfig.xml look like?)
> I have different numFound between json and xml parser
> -----------------------------------------------------
>                 Key: SOLR-3810
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 4.0-BETA
>         Environment: Centos 6.0, kernel 2.6.18-238.9.1.el5 x86_64, tomcat 7.0.27, solr
>            Reporter: Yago Riveiro Rodríguez
>            Priority: Critical
> This is weird, but I have different numFound between json and xml parser. 
> The query is a distributed search, same query only change the wt param.
> http://localhost:8080/solr4.0/4A_Stats201006/select?shards=localhost:8080/solr4.0/4A_Stats201006,localhost:8080/solr4.0/4A_Stats201007,localhost:8080/solr4.0/4A_Stats201008&indent=true&q=*:*
> <response>
> <lst name="responseHeader">
> <int name="status">0</int>
> <int name="QTime">199</int>
> </lst>
> <result name="response" numFound="30060851" start="0" maxScore="1.0">
> <doc>
> <str name="id">page697463104</str>
> <long name="surrogate_id">697463104</long>
> <str name="session_id">197861290</str>
> <str name="visitor_id">65987046</str>
> http://localhost:8080/solr4.0/4A_Stats201006/select?shards=localhost:8080/solr4.0/4A_Stats201006,localhost:8080/solr4.0/4A_Stats201007,localhost:8080/solr4.0/4A_Stats201008&indent=true&q=*:*&wt=json
> {
>   "responseHeader":{
>     "status":0,
>     "QTime":169},
>   "response":{"numFound":29519009,"start":0,"maxScore":1.0,"docs":[
>       {
>         "id":"page697463104",
>         "surrogate_id":697463104,
>         "session_id":"197861290",
>         "visitor_id":"65987046",
> The dumps are truncate because the sensitive data.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message