Noel, with H2's current approach (one index per query), it is unavoidable to do a full table scan with an OR statement on two different fields.
On Saturday, 12 May 2012 12:47:19 UTC+2, Noel Grandin wrote: > > The problem here is that H2 was not using any index at all for the > query, it was doing a full table scan. > > I'm sorry but I've become really busy so I haven't been able to look into > this. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/pc30xO7E3KQJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
