public function refresh_select($id_col, $content_col, $limit = 0, $offset = 0)
 {
     $post_types = $this->index->indexedPostTypes();
     if (!empty($post_type)) {
         $where = 'WHERE post_type IN (' . implode(',', $wpdb->escape($post_types)) . ')';
     }
     return "* FROM {$this->data_table_name} {$where} ORDER BY {$id_col} ASC LIMIT {$offset}, {$limit}";
 }
 function wp2PostsSearch($search, $query)
 {
     $table = $this->index->dbTable();
     if (isset($query->bfox_ref)) {
         $search = ' AND ' . $table->seqs_where($query->bfox_ref);
     }
     return $search;
 }