public void testAddRecordExistingEmptyIndex() throws IOException, RepositoryIndexException, ParseException
{
createEmptyIndex();
LuceneRepositoryContentRecord record = createSimpleRecord();
index.indexRecords( Collections.singletonList( record ) );
IndexReader reader = IndexReader.open( index.getIndexDirectory() );
try