okapi-web

As we talked, doing a query in a two level nested loop is probably not very efficient. Think about doing the query in the first loop and then filtering the data using Python in the second loop.