Increase chunk size to 100
Make phrase condition slices a little more efficient

Instead of using Arel to OR everything together, use Arel to create
intermediate condition strings and OR them together with a simple
String#join when ready to execute the query.
Store line numbers for phrases
Add a few necessary indices on phrase

Things are slooooow otherwise.