Hi all,
Created a Query using a Query Builder. How to Execute the build query.
Tried with the following code to execute. But no clue. Any clue reagarding this would be greatly helpful.
//Executing a query build by query builder.
IDfQueryProcessor processor = searchService.newQueryProcessor(builder, true /* noDuplicates */);
processor.blockingSearch(0);
if(results.next()){
results = processor.getResults();
for (int i = 0; i < results.size(); ++i) {
IDfResultEntry result = results.getResultAt(i);
String ownerName = result.getString("object_name");
}}
Or Any Suggestion regarding how to view a Query built by query builder would also be helpful.
Thanking for responces in advance.