I'm a bit of a newbie- adding echoParams=all to my querystring isn't
yielding additional info (does solr 1.4 support it?).  Here's a query (also
tried adding hl.fragsize=10):

http://localhost:8982/solr/select/?fl=*+score&start=0&q=gofish&qf=description_texts&hl.simple.pre=@@@hl@@@&hl.simple.post=@@@endhl@@@&fq=type:(Task)&hl=on&defType=dismax&rows=30&echoParams=all

<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">3</int>
<lst name="params">
<str name="hl.fragsize">10</str>
<str name="fl">* score</str>
<str name="start">0</str>
<str name="q">immanu</str>
<str name="qf">description_texts</str>
<str name="hl.simple.pre">@@@hl@@@</str>
<str name="hl.simple.post">@@@endhl@@@</str>
<str name="fq">type:(Task)</str>
<str name="hl">on</str>
<str name="defType">dismax</str>
<str name="rows">30</str>
</lst>
</lst>

<lst name="highlighting">
...
<str>
@@@hl@@@some s@@@endhl@@@uper long piece of text. long interesting stuff and
text gofish found
</str>
</arr>
...
</response>





On Sat, Jul 30, 2011 at 2:58 AM, Ahmet Arslan <iori...@yahoo.com> wrote:

> > Hi, I'm setting hl.fragsize = 10 in
> > all my highlighting fragmenters but I'm
> > still getting snippets being returned with > 10
> > characters (I think I'm
> > getting the full text back).  I also tried specifying
> > hl.fragsize in the
> > querystring, but the same thing happens.  Any idea why
> > fragsize is not
> > getting picked up?
>
> May be you are setting it twice? What is the output of &echoParams=all?
>

Reply via email to