Fix boosts on prefix queries.

We have to work around a bug in elasticsearch which is in turn a bug in
lucene.  They'll both get fixed, but for now, we run the work around.

Bug: 54399
Change-Id: I3069b15deecd7afb484596c57132c2000f127332
Merge "Fix boosts on prefix queries."