Re: Highlighted field gets truncated

2008-04-23 Thread Mike Klaas
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

Re: Highlighted field gets truncated

2008-04-22 Thread Christian Wittern
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? [...]

Re: Highlighted field gets truncated

2008-04-22 Thread Mike Klaas
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

Re: Highlighted field gets truncated

2008-04-19 Thread Christian Wittern
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

Re: Highlighted field gets truncated

2008-04-18 Thread Mike Klaas
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

Re: Highlighted field gets truncated

2008-04-18 Thread Christian Wittern
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=

Re: Highlighted field gets truncated

2008-04-18 Thread Martijn Dekkers
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.

Re: Highlighted field gets truncated

2008-04-18 Thread Thomas Arni
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