I’m not sure you need a custom component. Try using the standard highlighter.
Configure hl.simple.pre and hl.simple.post to be empty strings. Configure it to
return one maximum length snippet. That should return the entire matching
fields, though I haven’t tested it.
wunder
Walter Underwood
wun
Hi Josium,
Have to try something like this
http://localhost:8983/solr/mycollection/select?fq=Hobbit:*&indent=on&q=*:*&wt=json
This will return all documents that contain the field Hobbit ONLY.
Well, I'm not very sure to understand what you seeking for, excuse me if my
answer is out of topic.
Be