On Sep 14, 2007, at 12:33 PM, Nathaniel E. Powell wrote:
http://wiki.apache.org/solr/
HighlightingParameters#head-23ecd5061bc2c86a
561f85dc1303979fe614b956
where it talks about the hl.snippets parameter, it says that it can be
overridden on a per-field basis. I haven't been able to find any
information in the documentation or on the mailing list archive which
describes how to do this. Any hints?
Basically what I want to do is to receive up to 3 snippets for my
"Text"
field and up to 1 snippet for my Title field, so I guess I would
need to
override the parameter for one of these fields.
It's hidden cleverly right at the top of that same page you pointed to:
"Some parameters may be overriden on a per-field basis with the
following syntax:
f.<fieldName>.<originalParam>=<value>
eg. f.contents.hl.snippets=2"