Closed jayrbolton closed 4 years ago
I have some timings I'll post in a minute
@MrCreosote Here is a sample of times for the old search_sci_name query, all in ms:
45.011
45.011
45.011
45.011
68.140
Here is a sample of times for this stripped down query (gives the same search results as above)
9.838
10.189
15.054
8.064
15.536
7.241
So it's definitely quicker
A simpler and hopefully faster query to be used in species/strain autocompletes in the UI
This only searches species/strain (doc.rank == "species" OR doc.strain)