SpatialMap / SpatialMapDev

MIT License
3 stars 2 forks source link

Search Engine #9

Closed Kohze closed 6 years ago

Kohze commented 7 years ago

Following the firebase approach philosophy of space is cheap - we could eventually be able not to use bigQuery. We just add a keywords filter which takes every single "string" that fData() returns and maps it to the specific dataset. Firebase can apparently handle 500k nodes, and with some smart query it should be pretty instantly return the dataset that contains that keyword.

Structure:

Query:

db.child("Keywords").child(toLower(searchterm)).once()

--> returns the randomkeys of my specific search which are the "searchTerm" childs. next: db.child("MetaData").child(...queryRandomKeys).once()