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

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

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-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

Highlighted field gets truncated

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

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

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:

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: