Improve query performance by using the right index type.

Read more at the source