Can you expand on "replication" and "indexing" and also versions of solr etc?

Does the "replica" respond with data or does it give a blank?  Does it
have files on its disk?

On Wed, Feb 23, 2022 at 11:51 AM Heller, George A III CTR (USA)
<george.a.heller2....@mail.mil.invalid> wrote:
>
> 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”.
>
>
>
> Does the numFound come from the database? If so, why do I see the correct 
> number of records on the server where the collection was not indexed, but see 
> 0 on the failover server?
>
>
>
> The query is performed by navigating to the Solr Admin website 
> 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”
>
>
>
>
>
>
>
> ** Below is a query XML response with numFound in it for reference
>
>
>
> <?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">
>
>
>
>
>
> Thanks
>
>
>
>
>
>
>
>

Reply via email to