Re: BlockJoinQuery parser and ArrayIndexOutOfBoundException

2016-03-03 Thread Mikhail Khludnev
Hello, I happy you could deal with it. I appreciate if you help to collect more info like solr version, form of query and exception trace. Thanks! On Thu, Mar 3, 2016 at 3:28 PM, Sathyakumar Seshachalam < sathyakumar_seshacha...@trimble.com> wrote: > Just a commit after a delete makes the ArrayI

Re: BlockJoinQuery parser and ArrayIndexOutOfBoundException

2016-03-03 Thread Sathyakumar Seshachalam
Just a commit after a delete makes the ArrayIndexOutOfBoundException go-away. And in my scenario, the block join query does seem to work even if there are standalone children at least based on preliminary tests. On 03/03/16, 12:37 PM, "Mikhail Khludnev" wrote: >On Thu, Mar 3, 2016 at 7:18 AM, Sa

Re: BlockJoinQuery parser and ArrayIndexOutOfBoundException

2016-03-02 Thread Mikhail Khludnev
On Thu, Mar 3, 2016 at 7:18 AM, Sathyakumar Seshachalam < sathyakumar_seshacha...@trimble.com> wrote: > In my case, yes there are standalone docs (without any parents) and then > there is blocks with parents and its children in the same index. > As far as I know you can't mix them. Can you try to

Re: BlockJoinQuery parser and ArrayIndexOutOfBoundException

2016-03-02 Thread Sathyakumar Seshachalam
Hi, I will try that approach. Deleting and force merging before adding the blocks. In my case, yes there are standalone docs (without any parents) and then there is blocks with parents and its children in the same index. Note however that docs in the blocks are unique in that the children, there i

Re: BlockJoinQuery parser and ArrayIndexOutOfBoundException

2016-03-02 Thread Mikhail Khludnev
Hello, It's really hard to find exact case, why it happens. There is a bruteforce approach, sweep all deleted documents ie forcemerge until there is no deleted docs. Can it happen that standalone docs and parent blocks are mixed in the index? On Wed, Mar 2, 2016 at 2:04 PM, Sathyakumar Seshachala

BlockJoinQuery parser and ArrayIndexOutOfBoundException

2016-03-02 Thread Sathyakumar Seshachalam
Am running in to this issue : https://issues.apache.org/jira/browse/SOLR-7606. But am not following all of the description there in that ticket. But what I am not able to understand is when does a parent/child orthogonality is broken. And what does a child document without a parent mean ? I hav