DATAMONGO-701 - Improve performance of starts-with and ends-with queries.
This changes the starts-with regex to the prefixed form using ^ to better make use of any index on the queried field. Also changes ending-with queries to use the $ anchor.
pull/43/merge
Andrew Duncan13 years agocommitted byOliver Gierke
@ -570,4 +568,26 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -570,4 +568,26 @@ public abstract class AbstractPersonRepositoryIntegrationTests {