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 2010/09/10 08:27:30 UTC

[Solr Wiki] Trivial Update of "SolrJS" by newacct

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrJS" page has been changed by newacct.
http://wiki.apache.org/solr/SolrJS?action=diff&rev1=15&rev2=16

--------------------------------------------------

  
  <script>
    var solrjsManager; 
-   $sj(document).ready(function(){ 
+   $sj(function(){ 
      solrjsManager = new $sj.solrjs.Manager({solrUrl:"http://localhost:8983/solr/select"});   
      solrjsManager.addWidget(new $sj.solrjs.SimpleResultWidget({id:"result", target:"#result", rows:20}));	
      solrjsManager.addWidget(new $sj.solrjs.SimpleFacetWidget({id:"cat", target:"#cat", fieldName:"cat"}));