lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Searle <dave.sea...@magicalia.com>
Subject RE: solr user
Date Tue, 07 Sep 2010 17:24:30 GMT
You probably need to use the file:// moniker - if using firefox, install firebug and use the
net panel to see if the includes load

-----Original Message-----
From: ankita shinde [mailto:ankitashinde002@gmail.com] 
Sent: 07 September 2010 18:22
To: solr-user@lucene.apache.org
Subject: solr user

hello all,

       I am working with Ajax solr.I m trying to send request to solr to
retrieve all XML documents.I have created one folder named source which is
in C drive.Source folder contains all the .js files.I have tried following
code but its giving error as "AjaxSolr is not defined".
Can anyone pleas guide me????




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>AJAX Solr</title>

  <link rel="stylesheet" type="text/css" href="css/reuters.css"
media="screen" />


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

  <script type="text/javascript" src="thm.2.js"></script>

  <script type="text/javascript" src="jquery.min.js"></script>
  <script type="text/javascript" src="retuers.js"></script>

  <script type="text/javascript" src="C:/source/Core.js"></script>

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

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

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

      <h2>Search</h2>
      <span id="search_help">(press ESC to close suggestions)</span>
      <ul id="search">
        <input type="text" id="query" name="query"/>
      </ul>

      <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>
    <div class="clear"></div>
  </div>
</body>
</html>

Mime
View raw message