: I have created a Index of some xml files (xml's was created from mysql
: database) with solr. In xml's I have one text field. (more than 1000
: characters). Its searches fine, but solr result page is too long. I have
: tried highlight (&hl=on&hl.fl=fname), its shows highlighting results at end
: of xml in new tag, but I want an original result tag highlighted.

the main docset allways shows you the full stored value of any field.  if 
you only want the "fragmented" highlight info, just leave the big field 
out of your "fl".  merging the data from the main result set and the hight 
data is something that can be done fairly easily by the client (or a 
stylesheet, etc....) so it is not handled internally in Solr.

(that's one of the guiding principles of Solr features: "do things in the 
server that would be harder or more expensive to do in the client, 
don't do things that the client can do just as cheaply/easily.")


-Hoss

Reply via email to