On 22-Apr-08, at 6:00 PM, Christian Wittern wrote:
Mike Klaas wrote:
On 19-Apr-08, at 3:02 AM, Christian Wittern wrote:
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
Mike Klaas wrote:
On 19-Apr-08, at 3:02 AM, Christian Wittern wrote:
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?
[...]
On 19-Apr-08, at 3:02 AM, Christian Wittern wrote:
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 fragm
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
On 18-Apr-08, at 2:47 AM, Christian Wittern wrote:
Martijn Dekkers wrote:
Did you look at the hl.fragsize parameter? the default for that is
100. try:
http://localhost:8983/solr/select/?q=%E8%99%9B%E5%A4%9A&fl=variants,content,cdata,id%2Cdoctitle%2Chead%2Ccitekey%2Cseqnum%2Cjuan&hl=true&f.con
Martijn Dekkers wrote:
Did you look at the hl.fragsize parameter? the default for that is 100. try:
http://localhost:8983/solr/select/?q=%E8%99%9B%E5%A4%9A&fl=variants,content,cdata,id%2Cdoctitle%2Chead%2Ccitekey%2Cseqnum%2Cjuan&hl=true&f.contents.hl.snippets=20&hl.fl=content,variants&wt=xml&tr=
Hey Christian,
Did you look at the hl.fragsize parameter? the default for that is 100. try:
http://localhost:8983/solr/select/?q=%E8%99%9B%E5%A4%9A&fl=variants,content,cdata,id%2Cdoctitle%2Chead%2Ccitekey%2Cseqnum%2Cjuan&hl=true&f.contents.hl.snippets=20&hl.fl=content,variants&wt=xml&tr=solr-tei.
Have a look at
http://wiki.apache.org/solr/HighlightingParameters?highlight=%28highlighting%29#head-dbf0474b5b2c0db08f3a464ff3525225a9c71fbc
and set
hl.fragsize=0
Hope this helps.
Christian Wittern said the following on 18/04/2008 09:59:
> Dear Solr users,
>
> Here I am having a problem with hi
Dear Solr users,
Here I am having a problem with hightlighting which is slightly different
from the one reported by Martijn.
The field that contains the match is rather short, in this case less than
300 characters altogether. Nevertheless, the field is only returned
truncated. Since I also return