Set Config API user properties with SolrJ

2016-04-09 Thread Georg Sorst
Hi, how can you set Config API values from SolrJ? Does anyone have an example for this? Here's what I'm currently trying: /* Build the structure for the request */ Map parameters = new HashMap() {{ put("key", "value"); }}; final NamedList requestParameters = new NamedList<>(); requestParameter

Re: Solr slave is doing full replication (entire index) of index after master restart

2016-04-09 Thread Lior Sapir
Thanks for the reply. 00:00:60 - Is valid But I tried 00:01:00 anyway. I also checked the clocks and they are synced: ntpdate -q solr01-isrl01 server 192.168.103.112, stratum 11, offset 0.003648, delay 0.02589 9 Apr 18:09:20 ntpdate[23921]: adjust time server 192.168.103.112 offset 0.003648 sec

Re: Solr slave is doing full replication (entire index) of index after master restart

2016-04-09 Thread Walter Underwood
I’m not sure this is a legal polling interval: 00:00:60 Try: 00:01:00 Also, polling every minute is very fast. Try a longer period. Check the clocks on the two systems. If the clocks are not synchronized, that could cause problem. wunder Walter Underwood wun...@wunder

Re: Solr slave is doing full replication (entire index) of index after master restart

2016-04-09 Thread Lior Sapir
Anyone can tell me what was I doing wrong ? Is that the expected behavior (slave replicate entire index if on previous replication attempt the master was not available ) ? On Thu, Apr 7, 2016 at 9:12 PM, Lior Sapir wrote: > Thanks for the reply. > > I easily re produced it in my "sandbox" env

Re: Delete by query, including negative filters

2016-04-09 Thread Robert Brown
Thanks Erick, The *'s were accidental, if that makes any difference whatsoever. On 09/04/16 15:42, Erick Erickson wrote: Should work, or -merchant_id:(12345 OR 9876*) But do be aware that Solr is not strict boolean logic. The above is close enough for this purpose. Here's an excellent write

Re: Delete by query, including negative filters

2016-04-09 Thread Erick Erickson
Should work, or -merchant_id:(12345 OR 9876*) But do be aware that Solr is not strict boolean logic. The above is close enough for this purpose. Here's an excellent writeup on this subtlety: https://lucidworks.com/blog/2011/12/28/why-not-and-or-and-not/ Best, Erick On Sat, Apr 9, 2016 at 3:51 A

Delete by query, including negative filters

2016-04-09 Thread Robert Brown
Hi, I have this delete query: "*partner:pg AND market:us AND last_seen:[* TO 2016-04-09T02:01:06Z]*" And would like to add "AND merchant_id != 12345 AND merchant_id != 98765" Would this be done by including "*AND -merchant_id:12345 AND -merchant_id:98765*" ? Thanks, Rob