375376377378379380381382383384385
.getItemRenderer()).render(entity)); } else { index.add(entity, String.valueOf(entity)); } } index.commit(); for (Object obj : index.search(searchTerm)) { if (selectionModel.indexOf(obj) == -1) { choiceModel.add(obj); } }