lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Wittern <>
Subject Re: Highlighted field gets truncated
Date Sat, 19 Apr 2008 10:02:22 GMT
Mike Klaas wrote:
> Fragments are generated independently from matching (I realize this 
> isn't an ideal algorithm).
So it could be that the match is not part of the fragment?  This sounds 
a bit strange.  Is there a way to make sure the fragment contains the 
match other than returning the whole field and do the fragmenting myself?

> Fragments are returned as an xml list; you can combine them together 
> however you like in client code.  Solr can merge adjacent fragments 
> for you if you wish.
I see.  That is great.

Thanks,  Christian


 Christian Wittern 
 Institute for Research in Humanities, Kyoto University
 47 Higashiogura-cho, Kitashirakawa, Sakyo-ku, Kyoto 606-8265, JAPAN

View raw message