You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2006/07/21 08:57:46 UTC
[Solr Wiki] Update of "SolAjax" by BertrandDelacretaz
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by BertrandDelacretaz:
http://wiki.apache.org/solr/SolAjax
The comment on the change is:
fix typo
------------------------------------------------------------------------------
var rsp = eval("("+str+")"); // use eval to parse Solr's JSON response
var html= "<br>numFound=" + rsp.response.numFound;
var first = rsp.response.docs[0];
- hlml += "<br>product name="+ first.name;
+ html += "<br>product name="+ first.name;
var hl=rsp.highlighting[first.id];
if (hl.name != null) { html += "<br>name highligted: " + hl.name[0]; }
if (hl.features != null) { html += "<br>features highligted: " + hl.features[0]; }