We have a requirement to sort/boost documents returned for phrase matches depending on where the match was within the field, the nearer the beginning the better
i.e. a search term of "The w" would return results in this order The War of the Worlds The Ward The Whistleblower Gone with the Wind Tomorrow, When the War Began Spy Kids: All the Time in the World Tomorrow, When the War Began I am hoping TermVectors, TermPositions or TermOffsets may help here and have enabled them but not sure how to utilise them to boost scores or sort. Am I going to need to create our own Solr components (we have tried to avoid this to date) and if so which ones? Any help appreciated Thanks Dan Ledgard | Lead Developer KIT digital | York, UK | www.kitd.com<http://www.kitd.com/> | NASDAQ: KITD | Vision of the Future