You didn't build a search engine in 160 lines of code. You build a client for a search engine in 160 lines of code. The vector database is providing the search.

Look, I made a thing in two lines of code!

    import thing from everything
    thing()

Impressive! My company is willing to buy this from you for 200 million dollars.