lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ankita shinde <>
Subject solr user
Date Mon, 06 Sep 2010 09:55:23 GMT
var Manager;

(function ($) {
i have created one file .js ...

  $(function () {
    Manager = new AjaxSolr.Manager({
      solrUrl: ''
    Manager.addWidget(new AjaxSolr.ResultWidget({
      id: 'result',
      target: '#docs'
    Manager.init();'q', '*:*');


and included all necessary files in html file..

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" xml:lang="en" lang="en">
  <title>AJAX Solr</title>
  <link rel="stylesheet" type="text/css" href="style1.css" media="screen" />
  <script type="text/javascript" src="jquery-1.4.2.min.js"></script>
  <script type="text/javascript" src="sss.js"></script>
  <script type="text/javascript" src="Core.js"></script>

  <script type="text/javascript" src="AbstractManager.js"></script>
  <script type="text/javascript" src="Manager.jquery.js"></script>
  <script type="text/javascript" src="Parameter.js"></script>
  <script type="text/javascript" src="ParameterStore.js"></script>
  <script type="text/javascript" src="AbstractWidget.js"></script>
  <script type="text/javascript" src="ResultWidget.2.js"></script>
 <script type="text/javascript" src="thm.2.js"></script>

  <div id="wrap">
    <div id="header">
      <h1>AJAX Solr Demonstration</h1>
      <h2>Browse Reuters business news from 1987</h2>

    <div class="right">
      <div id="result">
        <div id="navigation">
          <ul id="pager"></ul>
          <div id="pager-header"></div>
        <div id="docs"></div>

    <div class="left">
      <h2>Current Selection</h2>
      <ul id="selection"></ul>

      <span id="search_help">(press ESC to close suggestions)</span>
      <ul id="search">

        <input type="text" id="query" name="query"/>

      <h2>Top Topics</h2>
      <div class="tagcloud" id="topics"></div>

      <h2>Top Organisations</h2>
      <div class="tagcloud" id="organisations"></div>

      <h2>Top Exchanges</h2>
      <div class="tagcloud" id="exchanges"></div>

      <h2>By Country</h2>
      <div id="countries"></div>
      <div id="preview"></div>

      <h2>By Date</h2>

      <div id="calendar"></div>

      <div class="clear"></div>
    <div class="clear"></div>

but still its not showing any document on web page...
What changes should i do?

plzzz do reply...

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message