Re: Nested Docs issue

2015-12-10 Thread Mikhail Khludnev
I want to fix it in scope of https://issues.apache.org/jira/browse/SOLR-5211 and hope it will be released in 5.5. It will *copy* $UniqueKey into "_root_" aways (regardless of having a child). Thus we will have $UniqueKey really unique. Overriding update will work. But deleteByID won't work out-of-t

Re: Nested Docs issue

2015-12-10 Thread Bogdan Marinescu
I've already implemented something similar to what you've said. Setting the _root_ into the document and for safety double checking that I don't have the same ID twice. I'm interested in the workaround. Thanks On 12/10/2015 10:24 AM, Mikhail Khludnev wrote: I want to fix it in scope of https

Re: Nested Docs issue

2015-12-10 Thread Mikhail Khludnev
On Thu, Dec 10, 2015 at 12:38 PM, Bogdan Marinescu < bogdan.marine...@awinta.com> wrote: > I'm interested in the workaround. If you add the childless document first and afterwards the child, then > sol'r should append the child to the already existing document (or rather > delete the existing on

Re: Nested Docs issue

2015-12-10 Thread Bogdan Marinescu
Problem is I was manually exporting data from a database and converting it into sol'r docs and writing it to sol'r. No checks were performed if the converted doc had children or not so I can't really tell if I was doing it in this order or reversed (first the parent and child and then only the

Re: Nested Docs issue

2015-12-10 Thread Mikhail Khludnev
On Thu, Dec 10, 2015 at 1:26 PM, Bogdan Marinescu < bogdan.marine...@awinta.com> wrote: > Problem is I was manually exporting data from a database and converting it > into sol'r docs and writing it to sol'r. No checks were performed if the > converted doc had children or not so I can't really tell

Re: Nested Docs issue

2015-12-10 Thread Bogdan Marinescu
So you mean to write my own script update processor which would do that ? On 12/10/2015 11:51 AM, Mikhail Khludnev wrote: On Thu, Dec 10, 2015 at 1:26 PM, Bogdan Marinescu < bogdan.marine...@awinta.com> wrote: Problem is I was manually exporting data from a database and converting it into sol

Re: Nested Docs issue

2015-12-10 Thread Mikhail Khludnev
It seems so. On Thu, Dec 10, 2015 at 2:06 PM, Bogdan Marinescu < bogdan.marine...@awinta.com> wrote: > So you mean to write my own script update processor which would do that ? > > > > On 12/10/2015 11:51 AM, Mikhail Khludnev wrote: > >> On Thu, Dec 10, 2015 at 1:26 PM, Bogdan Marinescu < >> bogd

Re: Re: secure solr 5.3.1

2015-12-10 Thread kostali hassan
Iam looking to secure my solr runing in standalone Mode within windows ;the kerberose plugin is only able to secure solr in standalone mode. how create principale and here password. 2015-12-10 9:35 GMT+00:00 kostali hassan : > Iam looking to secure my solr runing in standalone Mode the kerberose

Re: Re: secure solr 5.3.1

2015-12-10 Thread Ishan Chattopadhyaya
1. Please set up your Kerberos server. (KDC) 2. Create principals (usernames) and keytab files as mentioned in the document. 3. Copy the keytab files to your Solr machines 4. Mention all parameters in your bin/solr.in.sh file. 5. Start Solr using a separate parameter, "-DauthenticationPlugin=org.ap

Re: Increasing Solr5 time out from 30 seconds while starting solr

2015-12-10 Thread Debraj Manna
The logs that I am seeing:- jabong@jabong1143:~/Downloads/software/dev/solr5$ sudo bin/solr start -p [sudo] password for jabong: Waiting to see Solr listening on port [-] Still not seeing Solr listening on after 30 seconds! INFO - 2015-12-10 15:37:16.816; [ ] org.apache.solr.cor

Re: Re: secure solr 5.3.1

2015-12-10 Thread kostali hassan
to setup kerberos in windows : https://github.com/krb5/krb5/blob/master/src/windows/README 2015-12-10 12:10 GMT+00:00 Ishan Chattopadhyaya : > 1. Please set up your Kerberos server. (KDC) > 2. Create principals (usernames) and keytab files as mentioned in the > document. > 3. Copy the keytab fil

Re: Solr Integration tests

2015-12-10 Thread Shalin Shekhar Mangar
Did you try using the MiniSolrCloudCluster helper class? On Thu, Dec 10, 2015 at 11:27 AM, Sathyakumar Seshachalam wrote: > Am giving up on this, and resorting to my own test framework using > JettySolrRunner Before a Suite runs. > > Facing quite a few hurdles - > 1. When I run tests from IDE I g

Re: secure solr 5.3.1

2015-12-10 Thread Don Bosco Durai
Kostali If you are using Windows, then you can also use your AD as the KDC. Bosco On 12/10/15, 8:18 AM, "kostali hassan" wrote: >to setup kerberos in windows : > >https://github.com/krb5/krb5/blob/master/src/windows/README > >2015-12-10 12:10 GMT+00:00 Ishan Chattopadhyaya : > >> 1. Please

RE: Authorization API versus zkcli.sh

2015-12-10 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
Looking at security.json in Zookeeper, I notice that both the authentication section and the authorization section ends with something like "":{"v":47}}, Am I correct in thinking that this 47 (in this case) is a version number, and that ANY number could be used in the file uploaded to security.

Re: Solr Spatial search with self-intersecting polygons

2015-12-10 Thread david.w.smi...@gmail.com
Hello, To have Solr be tolerant to invalid polygons, use the “validationRule” attribute on the field type definition. This setting and some others are documented here: https://locationtech.github.io/spatial4j/apidocs/com/spatial4j/core/context/jts/JtsSpatialContextFactory.html Try using repairBuf

Re: Long Running Data Import Handler - Notifications

2015-12-10 Thread Shawn Heisey
On 12/8/2015 6:37 PM, Brian Narsi wrote: > Is there a way to receive notifications when a Data Import Handler finishes > up and whether it succeeded or failed. (typically runs about an hour) The code I have which uses DIH (full rebuilds of the index) must regularly get a status from DIH after it s

Re: Solr memory usage

2015-12-10 Thread Shawn Heisey
On 12/9/2015 7:56 AM, Steven White wrote: > Thanks Erick!! Your summary and the blog by Uwe (thank you too Uwe) are > very helpful. > > A follow up question. I also noticed the "JVM-Memory" report off Solr's > home page is fluctuating. I expect some fluctuation, but it kinda worries > me when it

Re: Increasing Solr5 time out from 30 seconds while starting solr

2015-12-10 Thread Susheel Kumar
Hi Debraj, >From the log i can't see any issue/error. Do you mind running solr with -f and see on console if you get any error otherwise launch Solr from browser ( http://localhost:8983/solr) Thnx On Thu, Dec 10, 2015 at 10:39 AM, Debraj Manna wrote: > The logs that I am seeing:- > > jabong@j

Re: capacity of storage a single core

2015-12-10 Thread Susheel Kumar
Like the details here Eric how you broke memory into different parts. I feel if we can combine lot of this knowledge from your various posts, above sizing blog, Solr wiki pages, Uwe article on MMap/heap, consolidate and present in at single place which may help lot of new folks/folks struggling wi

RE: JSON facets and excluded queries

2015-12-10 Thread Aigner, Max
Another question popped up around this: Is the facet.threads parameter still relevant with Json facets? I saw that the facet prefix bug https://issues.apache.org/jira/browse/SOLR-6686 got fixed in 5.3 so I'm looking into re-enabling this parameter for our searches. On a side note, I've been t

Zookeeper connection refused error

2015-12-10 Thread Aswath Srinivasan (TMS)
Hi all, I tried to create a collection with 3 shards and it got created. Verified the same in SOLR Dashboard. But while creating the collection I'm seeing a "Connection Refused" when connecting to Zookeeper. Following is the expectation trace. Can somebody spot the mistake that is happening w

Re: Authorization API versus zkcli.sh

2015-12-10 Thread Noble Paul
Please do not put any number. That number is used by the system to optimize loading/reloading plugins. It is not relevant for the user. On Thu, Dec 10, 2015 at 11:52 PM, Oakley, Craig (NIH/NLM/NCBI) [C] wrote: > Looking at security.json in Zookeeper, I notice that both the authentication > secti