I was adding the docs via command line, with a commit....

curl http://host:8983/solr/update/?commit=true -H "Content-Type: text/xml" --data-binary '<update><add><doc><field name="id">9235647339</field><field name="name">8983</field></doc></add></update>';

In some more testing... it does look like issuing another commit after this seems to "really" commit.
curl http://victor:8983/solr/update/?commit=true



On 10/17/2012 12:06 PM, Mark Miller wrote:
How are you issuing the commit that makes the docs visible?

On Wed, Oct 17, 2012 at 12:15 PM, Scott Carlson
<scott.a.carl...@gmail.com>  wrote:
I'm trying a very simple setup, and I'm not getting the results I would
expect.

Starting from : https://wiki.apache.org/solr/SolrCloud  example C.   I have
4 instances running locally.
I verify the cloud setup in the UI, that there are two servers per shard,
and they are all green.

I added a document to each of the URLs (four in total).  I then use one of
the server UIs to query for all the docs.   I would expect that executing a
"*:*" query should ALWAYS return 4 hits.  Instead it seems to randomly
return 4, 3, or even 2.

Any ideas?



Reply via email to