BlockJoinQuery parser question

2016-03-09 Thread Sathyakumar Seshachalam
Hi, Can an index contain both Standalone documents and nested documents ? I remember being told before that this may not work, but asking again for confirmation here. What I have is a bunch of standalone document followed by nested documents in the index. The BlockJoin then works fine and am

Re: BlockJoinQuery parser and ArrayIndexOutOfBoundException

2016-03-03 Thread Sathyakumar Seshachalam
cs.com> wrote: >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. >> &g

Re: BlockJoinQuery parser and ArrayIndexOutOfBoundException

2016-03-02 Thread Sathyakumar Seshachalam
ocuments 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 Seshachalam < >sathyakumar_seshacha...@trimble.com> wrote: > >> Am running in to th

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

Re: Nested documents and many-many relation

2016-01-31 Thread Sathyakumar Seshachalam
are immutable in Lucene, so the entire >> block must be written to a new segment. >> >> >> -- Jack Krupansky >> >> On Fri, Jan 29, 2016 at 5:13 AM, Sathyakumar Seshachalam < >> sathyakumar_seshacha...@trimble.com> wrote: >> >> > Hi, >&

Nested documents and many-many relation

2016-01-29 Thread Sathyakumar Seshachalam
Hi, Am trying to investigate the possibility of using Block Join query parser in a many-to-many relation scenario. Observation is that when a document is added as a child to more than one parent document (I use Solrj to do this), I seem to get two copies of the child document. Can this be

Sold Integration tests

2015-12-09 Thread Sathyakumar Seshachalam
Are there any documentations around Solr test framework. (http://mvnrepository.com/artifact/org.apache.solr/solr-test-framework) I am looking to do integration tests to just check if I am able to add document and search it via JUnitTests. There does seem to be a test-framework from solr, but

Re: Sold Integration tests

2015-12-09 Thread Sathyakumar Seshachalam
olr 5.x), maybe it can help. > >Andrea > >[1] >http://andreagazzarini.blogspot.it/2015/10/how-to-do-integration-tests-wit >h-solr.html > >2015-12-09 11:32 GMT+01:00 Sathyakumar Seshachalam < >sathyakumar_seshacha...@trimble.com>: > >> Are there any document

Re: Solr Integration tests

2015-12-09 Thread Sathyakumar Seshachalam
; works Ok, But getSolrHome in AbstractSolrTestCase is never called 3. The code imposes a class hierarchy on the test classes 4. Not enough documentation / samples etc., On 10/12/15, 10:51 AM, "Sathyakumar Seshachalam" <sathyakumar_seshacha...@trimble.com> wrote: >Hello Andre

Explicit commit with openSearcher=false

2015-11-11 Thread Sathyakumar Seshachalam
Hi, I have a Search system based on Solr that relies on autoCommit configuration (with openSearcher=false). I now have a use-case that requires me to disable autoCommit and issue explicit commit commands, But as I understand an explicit commit command "always" opens a searcher. Is this correct

Re: Explicit commit with openSearcher=false

2015-11-11 Thread Sathyakumar Seshachalam
And I am using version 4.10.3 On 11/11/15, 4:04 PM, "Sathyakumar Seshachalam" <sathyakumar_seshacha...@trimble.com> wrote: >Hi, > >I have a Search system based on Solr that relies on autoCommit >configuration (with openSearcher=false). I now have a use-case

Re: Explicit commit with openSearcher=false

2015-11-11 Thread Sathyakumar Seshachalam
I intend to use SolrJ. I only saw the below overloaded commit method in documentation (http://lucene.apache.org/solr/4_10_3/solr-solrj/index.html) of class ³org.apache.solr.client.solrj.SolrServer" public UpdateResponse commit(boolean waitFlush, boolean waitSearcher, boolean softCommit). And I