...
Code Block | ||
---|---|---|
| ||
var queryResults:ArrayCollection = _context.getQuery_AllResults().getTopDocuments(); for each (var doc:Object in queryResults ) { titleArrayList.addItem(doc.title); for each ( var entity:Object in doc.entities ) { entityArrayList.addItem(entity.disambiguousdisambiguated_name); } } |
Now we can run our example, login and do a sample query and we should have some data displayed in our lists, all the results titles, and every entity in all the resulting documents!
...