Skip to content

Commit

Permalink
SHIBUI-997: Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
dima767 committed Nov 19, 2018
1 parent eb05766 commit 59cd36e
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ void addIndexedDescriptorsFromBackingStore(AbstractMetadataResolver.EntityBackin
document.add(new StringField("id", entityId, Field.Store.YES));
document.add(new TextField("content", entityId, Field.Store.YES)); // TODO: change entityId to be content of entity descriptor block
document.add(new StringField("tag", resourceId, Field.Store.YES));
try {
indexWriter.addDocument(document);
} catch (IOException e) {
logger.error(e.getMessage(), e);
}
indexWriter.addDocument(document);
}
} catch (IOException e) {
logger.error(e.getMessage(), e);
Expand Down

0 comments on commit 59cd36e

Please sign in to comment.