SOLR-3076 and IndexWriter.addDocuments()

2013-05-20 Thread Tom Burton-West
My understanding of Lucene Block-Join indexing is that at some point
IndexWriter.addDocuments() or IndexWriter.updateDocuments() need to be
called to actually write a block of documents to disk.

   I'm trying to understand how SOLR-3076 (Solr should support block
joins), works and haven't been able to trace out how or where it calls
IndexWriter.addDocuments() or IndexWriter.updateDocuments.

Can someone point me to the right place in the patch code?

(If I should be asking this in the JIRA instead of the dev list please let
me know)

Tom


Re: SOLR-3076 and IndexWriter.addDocuments()

2013-05-20 Thread Tom Burton-West
Found it.  In AddBlockUpdateTest.testSmallBlockDirect

 assertEquals(2, h.getCore().getUpdateHandler().addBlock(cmd));
and in the patched code DirectUpdateHandler2.addBlock()

Tom


On Mon, May 20, 2013 at 5:49 PM, Tom Burton-West tburt...@umich.edu wrote:

 My understanding of Lucene Block-Join indexing is that at some point
 IndexWriter.addDocuments() or IndexWriter.updateDocuments() need to be
 called to actually write a block of documents to disk.

I'm trying to understand how SOLR-3076 (Solr should support block
 joins), works and haven't been able to trace out how or where it calls
 IndexWriter.addDocuments() or IndexWriter.updateDocuments.

 Can someone point me to the right place in the patch code?

 (If I should be asking this in the JIRA instead of the dev list please let
 me know)

 Tom