@Override
public IndexWriter createIndex(IndexConfiguration parameters) {
return (IndexWriter) context.getBean("indexWriter", parameters.getIndexConfiguration().);
}
@Override
public List<IndexWriter> getIndexes(IndexConfiguration parameters) {
return null;
}
@Override
public IndexWriter mergeIndexes(List<IndexWriter> indexes)
throws IndexServiceException {
return null;
}
@Override
public void deleteIndex(IndexWriter index) throws IndexServiceException {
}
@Override
public void setApplicationContext(ApplicationContext arg0)
throws BeansException {
this.context = arg0;
}