i followed the ajax solr tutorial, and in step one i wrote this code.
header.php:
<script type="text/javascript" src="static/js/ajax-solr/core/Core.js"></script>
<script type="text/javascript" src="static/js/ajax-solr/core/AbstractManager.js"></script>
<script type="text/javascript" src="static/js/ajax-solr/managers/Manager.jquery.js"></script>
<script type="text/javascript" src="static/js/ajax-solr/core/Parameter.js"></script>
<script type="text/javascript" src="static/js/ajax-solr/core/ParameterStore.js"></script>
<script type="text/javascript" src="static/js/reuters.js"></script>
reuters.js:
var Manager;
(function ($) {
$(function () {
Manager = new AjaxSolr.Manager({
solrUrl: 'http://localhost/solr/select'
});
Manager.init();
});
})(jQuery);
// build query
Manager.store.addByValue('q', '*:*');
// do request
Manager.doRequest();
but when i run it firebug says Manager.store.addByValue('q', ':'); is not defined.
how come? i have added all the libraries correctly.