Hi,

We're implemented search into our product here at our very small company,
and the developer who integrated Solr has left. I'm picking up the code base
and have run into a problem , which I imagine is simple to solve.

I have this request:

http://localhost:8983/solr/select?start=0&rows=20&qt=dismax&q=copy&hl=true&hl.snippets=4&hl.fragsize=50&facet=true&facet.mincount=1&facet.limit=8&facet.field=type&fq=company-id%3A1&wt=javabin&version=2.2

(I've been using this to see it rendered in the browser:
http://localhost:8983/solr/select?indent=on&version=2.2&q=copy&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl=on&hl.fl=features&hl=true&hl.fragsize=50
)


that I've been trying out. I get a good responce - however the hl.fragsize
is ignored and the hl.fragsize in the solrconfig.xml is ignored. Instead I
get back the whole document (10,000 chars!) in the doc txt field. And
bizarely the response header is this:

<response>
−
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
−
<lst name="params">
<str name="explainOther"/>
<str name="hl.fragsize">50</str>
<str name="indent">on</str>
<str name="hl.fl">features</str>
<str name="wt">standard</str>
−
<arr name="hl">
<str>on</str>
<str>true</str>
</arr>
<str name="version">2.2</str>
<str name="rows">10</str>
<str name="fl">*,score</str>
<str name="start">0</str>
<str name="q">copy</str>
<str name="qt">standard</str>
</lst>
</lst>
−

So it seems that the hl.fragsize was taken into account.

I'm sure I'm being dumb but I don't know how to solve this. Any ideas?
many thanks
-- 
View this message in context: 
http://www.nabble.com/Newbie-question-tp23505802p23505802.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to