use of com.rbmhtechnology.vind.api.result.BeanGetResult in project vind by RBMHTechnology.
the class SolrSearchServer method execute.
@Override
public <T> BeanGetResult<T> execute(RealTimeGet search, Class<T> c) {
DocumentFactory documentFactory = AnnotationUtil.createDocumentFactory(c);
final GetResult result = this.execute(search, documentFactory);
return result.toPojoResult(result, c);
}
use of com.rbmhtechnology.vind.api.result.BeanGetResult in project vind by RBMHTechnology.
the class ElasticSearchServer method execute.
@Override
public <T> BeanGetResult<T> execute(RealTimeGet search, Class<T> c) {
final DocumentFactory documentFactory = AnnotationUtil.createDocumentFactory(c);
final GetResult result = this.execute(search, documentFactory);
return result.toPojoResult(result, c);
}
Aggregations