Hi, Can you provide with more context? Solr doesn't officially support the 'war' (Web application ARchive) any more.
What version of Solr is this? What are you trying to accomplish? Also, the patches on SOLR-4460 are from over an year ago. On Mon, Jun 22, 2015 at 5:22 AM, Fadi Mohsen <fadi.moh...@gmail.com> wrote: > Create collection : > > > /solr/admin/collections?action=CREATE&name=${collectionName}&numShards=5&replicationFactor=3&maxShardsPerNode=3 > > On Mon, Jun 22, 2015 at 12:56 PM, Fadi Mohsen <fadi.moh...@gmail.com> > wrote: > > > Hi, I managed wiring up jetty and Solr war programmatically. > > > > After seeing SOLR-4470 (issues with inter cluster/node client calls), we > > now set: > > HttpClientUtil.setConfigurer(new MyCustomHttpClientConfigurer()); > > to setup clients before doing any inter node calls. > > > > also combined with: > > jettywebapp.setParentLoaderPriority(true) > > which means that application and war uses same classpath. > > > > all good so far, uploading configuration and creating collections works. > > But, when quering the collection, responses numFound vary for each > > response. > > guessing that something is preventing solr from collecting proper answer > > from collection (all shards). > > > > We see these warnings in Solr logs: > > > > INFO qtp678433396-57 update.PeerSync [Solr_335] [] PeerSync: > > core=test_o_txs_shard1_replica2 url=https://host1:9232/solr START > > replicas=[https://host3:9232/solr/test_o_txs_shard1_replica3/] > > nUpdates=100 > > INFO qtp678433396-57 update.PeerSync [Solr_335] [] PeerSync: > > core=test_o_txs_shard1_replica2 url=https://host1:9232/solr DONE. We > > have no versions. sync failed. > > INFO RecoveryThread-test_o_txs_shard4_replica3 cloud.RecoveryStrategy > > [Solr_335] [] Attempting to PeerSync from > > https://host2:9232/solr/test_o_txs_shard4_replica1/ > > core=test_o_txs_shard4_replica3 - recoveringAfterStartup=true > > INFO RecoveryThread-test_o_txs_shard4_replica3 update.PeerSync > [Solr_335] > > [] PeerSync: core=test_o_txs_shard4_replica3 url=https://host1:9232/solr > > START replicas=[https://host2:9232/solr/test_o_txs_shard4_replica1/] > > nUpdates=100 > > WARN RecoveryThread-test_o_txs_shard4_replica3 update.PeerSync > [Solr_335] > > [] no frame of reference to tell if we've missed updates > > INFO RecoveryThread-test_o_txs_shard4_replica3 cloud.RecoveryStrategy > > [Solr_335] [] PeerSync Recovery was not successful - trying replication. > > core=test_o_txs_shard4_replica3 > > INFO RecoveryThread-test_o_txs_shard3_replica1 cloud.RecoveryStrategy > > [Solr_335] [] Attempting to PeerSync from > > https://host3:9232/solr/test_o_txs_shard3_replica2/ > > core=test_o_txs_shard3_replica1 - recoveringAfterStartup=true > > INFO RecoveryThread-test_o_txs_shard3_replica1 update.PeerSync > [Solr_335] > > [] PeerSync: core=test_o_txs_shard3_replica1 url=https://host1:9232/solr > > START replicas=[https://host3:9232/solr/test_o_txs_shard3_replica2/] > > nUpdates=100 > > WARN RecoveryThread-test_o_txs_shard3_replica1 update.PeerSync > [Solr_335] > > [] no frame of reference to tell if we've missed updates > > INFO RecoveryThread-test_o_txs_shard3_replica1 cloud.RecoveryStrategy > > [Solr_335] [] PeerSync Recovery was not successful - trying replication. > > core=test_o_txs_shard3_replica1 > > > > any hints? > > > > Regards > > /Fadi > > > -- Anshum Gupta