Hi,

This is the dev@ mailing list for discussing development of the Solr server 
itself.
For user questions, like yours you will find the [email protected]  mailing 
list better suited. Please re-post your message on that list.

Jan

> 27. jan. 2022 kl. 19:55 skrev Heller, George A III CTR (USA) 
> <[email protected]>:
> 
> We have Solr installed on a primary server and a failover server. When I 
> index a collection on the primary, all the files indexed are created on disk 
> and get copied to disk on the failover server via replication.
> Querying the core on the primary shows the correct number of documents 
> (numFound=”21194”) and the same query done on the failover server shows 
> numFound=”0”.
>  
> The query is performed by navigating to the Solr Admin website 
> http://localhost:8983/solr <http://localhost:8983/solr>  
> , selecting one of our cores
> , clicking Query Then clicking [Execute Query]. No parameters are selected, 
> so we get all documents in the collection.
> The code below is what Solr returned. 
>  
> Where does it get numFound="21194" from?
> The reason I ask is because when we query a core on our primary server where 
> we indexed the collection, it returns the correct number of documents as seen 
> below. When we do the exact same thing on the failover server it shows 
> numFound=”0”
>  
> Thanks
>  
>  
> <?xml version="1.0" encoding="UTF-8"?>
> <response>
>  
> <lst name="responseHeader">
>   <int name="status">0</int>
>   <int name="QTime">2</int>
>   <lst name="params">
>     <str name="q">*:*</str>
>     <str name="indent">true</str>
>     <str name="q.op">OR</str>
>     <str name="_">1643299742083</str>
>   </lst>
> </lst>
> <result name="response" numFound="21194" start="0" numFoundExact="true">

Reply via email to