gregsadetsky / nycnoise

https://nyc-noise.com
15 stars 0 forks source link

optimize event (db) search using similar searchvector/searchvectorfield as it was done for static pages? #215

Open gregsadetsky opened 4 months ago

gregsadetsky commented 4 months ago

could be good to search baked_html_template i.e. add a search vector on event and on event save, in addition to baking the html, save into the search vector. would also let us do a better search over event's fields i.e. in search.py instead of searching over title, artists, venue__name, etc. i.e. maybe future fields/overrides that we could forget about, just search the search vector i.e. just the baked html..!