Open atalyaalon opened 5 months ago
Hi @atalyaalon
We want to add the numeric indexes if they do not exist, right? (e.g. involved_markers_hebrew
does not have street2
index.
@ziv17 yes you are right.
And in table involved_markers_hebrew
we also want to remove the street1_hebrew
, street1_hebrew
, accident_yishuv_name
, road_segment_name
, as you performed in this pr
Hi @atalyaalon ,
The 5 tables that are created in db_views.py
are:
AccidentMarker
, or markers
VehiclesView
, or vehicles_hebrew
Involved
, or involved
InvolvedView
, or involved_hebrew
Vehicle
, or vehiclesAre these the tables that I should work on?
Hi @atalyaalon , I might have asked you this already. If so, I apologize 😄 Currently the infographics API can accept text field as filters, and it replaces them with the corresponding numeric field. For this, it does a select with the given text field. If we keep this functionality, do we still want to remove the text indexes?
@ziv17 can you add the like to the relevant code that does a select with the given text field?
That's for the next milestone, but I want to keep documentation of this issue as we spoke about it in our last meeting
We can first:
And then: