/** * FIXME This will on the full text index using the * {@link BigdataValueCentricFullTextIndex} class. That class will wind up doing * gathered batch inserts in chunks of up to the capacity set inline in * the method below. However, it will use Sync RPC rather than the ASYNC * [buffer_text] index write pipeline. While this should be enough to * write unit tests for the full text indexing feature, it is not going * to scale well. * * @see BigdataValueCentricFullTextIndex */ public Void call() throws Exception { latch.inc(); try { /* * TODO capacity for the full text index writes. */ final int capacity = 100000; textIndex.index(capacity, src); } finally { latch.dec(); } // Done. return null; }
/** * FIXME This will on the full text index using the * {@link BigdataValueCentricFullTextIndex} class. That class will wind up doing * gathered batch inserts in chunks of up to the capacity set inline in * the method below. However, it will use Sync RPC rather than the ASYNC * [buffer_text] index write pipeline. While this should be enough to * write unit tests for the full text indexing feature, it is not going * to scale well. * * @see BigdataValueCentricFullTextIndex */ public Void call() throws Exception { latch.inc(); try { /* * TODO capacity for the full text index writes. */ final int capacity = 100000; textIndex.index(capacity, src); } finally { latch.dec(); } // Done. return null; }
index(buffer, termId, 0/* fieldId */, languageCode, new StringReader(text));
index(buffer, termId, 0/* fieldId */, languageCode, new StringReader(text));