Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3810

I have different numFound between json and xml parser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 4.0-BETA
    • None
    • Response Writers
    • None
    • Centos 6.0, kernel 2.6.18-238.9.1.el5 x86_64, tomcat 7.0.27, solr 4.0-BETA

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yriveiro Yago Riveiro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: