90 had a bunch of attempts to optimise the races queries which were unsuccessful so races were removed from basic search.
Want to test some other approaches to maybe add races back.
E.g.
Check if each word is a race then build the race query from only those so it worked the same as the race_query in the advanced search (might require a round trip to the database to collect race names).
Could potentially optimise this to load the Races on server startup (not in a view function). Would require a dyno reboot when Races were updated via the admin/adding a new card to work properly though.
90 had a bunch of attempts to optimise the races queries which were unsuccessful so races were removed from basic search.
Want to test some other approaches to maybe add races back.
E.g. Check if each word is a race then build the race query from only those so it worked the same as the race_query in the advanced search (might require a round trip to the database to collect race names).
Could potentially optimise this to load the Races on server startup (not in a view function). Would require a dyno reboot when Races were updated via the admin/adding a new card to work properly though.