In the petlx.index module add an indexjoin() function which takes a table, an index directory containing a prepopulated index, and a field name from the table whose values contain the queries, then iterates over rows from the table making an index query for each row, and joins each row with the results from the index.
In the petlx.index module add an indexjoin() function which takes a table, an index directory containing a prepopulated index, and a field name from the table whose values contain the queries, then iterates over rows from the table making an index query for each row, and joins each row with the results from the index.