TheDataStation / ver

Data Discovery Tools and Systems
MIT License
6 stars 10 forks source link

Implement fts_query in dindex.fulltext_search_index #29

Closed raulcf closed 1 year ago

raulcf commented 1 year ago

See the TODO below (in 'aurumapi' branch:

def fts_query(self, keyword, search_domain, max_results, exact_search) -> List:

TODO: search over "search_domain", return top-"max_results", and switch between exact/approx search ("exact_search")

    res = self.conn.execute("EXECUTE fts_query('" + keyword + "')")
    return res.fetchall()

The old 'algebra.py' had an implementation for each of those values (using elastic). We have lost that functionality. This issue is about recovering as much as possible in the context of the new FTS index.

raulcf commented 1 year ago

solved