RE: Highlighting: When alternateField does not exist

2013-01-09 Thread Markus Jelsma
> Subject: Highlighting: When alternateField does not exist > > Hi, > > The alternateField and maxAlternateFieldLength params work well, but only as > long as the alternate field actually exists for the document. If it does not, > highlighting returns nothing. > > We would lik

Highlighting: When alternateField does not exist

2013-01-09 Thread Jan Høydahl
Hi, The alternateField and maxAlternateFieldLength params work well, but only as long as the alternate field actually exists for the document. If it does not, highlighting returns nothing. We would like this behavior 1. Highlighting in "body" if matches 2. Fallback to verbatim "teaser" if it ex