I have some fields that are ordered in the index (e.g. lexographical String
s). I'd like to give a higher boost/score to the higher values.
What is the preferred way to do this in Lucene 4? (obtaining the exact value through a hit to the IndexCache is suboptimal)
(There are plently of Google hits for earlier versions of Lucene, but the API has changed substantially with great improvements to the indexing system.)