Skip to content

Commit

Permalink
NOJIRA
Browse files Browse the repository at this point in the history
The lucene index was being cleared and recreated, but never committed.
Added an indexWriter.commit back in.
  • Loading branch information
Bill Smith committed Nov 26, 2018
1 parent 4bc47f6 commit ab6edcf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ void addIndexedDescriptorsFromBackingStore(AbstractMetadataResolver.EntityBackin
document.add(new StringField("tag", resourceId, Field.Store.YES));
indexWriter.addDocument(document);
}
indexWriter.commit();
} catch (IOException e) {
logger.error(e.getMessage(), e);
throw new ComponentInitializationException(e);
Expand Down

0 comments on commit ab6edcf

Please sign in to comment.