Search Results: 'solr'

…(q) {\n $scope.q = q;\n\n //here we issue the actual query using jQuery\n $.ajax({\n url: "http://ec2-75-101-214-153.compute-1.amazonaws.com:8983/solr/statedecoded/search",\n data: {\n "q": $scope.q,\n "wt": "json",\n "rows":3\n },\n traditional: true,\n cache: true,\n async: true,\n…

…the updates or maybe even (sigh) break out the Java code and use the SolrJ interface. In the meantime, it works and Im really glad Solr finally got this feature!…

…= new SolrQuery("*:*");query.setRows(1);QueryRequest req = new QueryRequest(query);NoOpResponseParser dontMessWithSolr = new NoOpResponseParser();dontMessWithSolr.setWriterType("json");server.setParser(dontMessWithSolr);NamedListObject> resp = server.request(req);String jsonResponse = (String) resp.get("response");System.out.println(jsonResponse);Assert.assertTrue("Verify that we get back some JSON",jsonResponse.startsWith("{"responseHeader"")); NoOpResponseParser returns the full JSON output…

…a simple input tag. Enjoy! ‘use strict’;angular.module(‘solrAngularDemoApp’) .directive(‘searchResults’, function () { return { scope: { solrUrl: ‘=’, displayField: ‘=’, query: ‘&’, results: ‘&’ }, restrict: ‘E’, controller: function($scope, $http) {…

…hosted Solr product for Solr nerds. It allows integration of plugins and stays up to date with the latest versions of Solr. MeasuredSearch handles the 3AM phone calls, heap sizing,…

…returns HTTP 400 with the following error message Solr Query:http://mysolrsearch.com/solr/collection1/select?echoParams=foo&wt=xmlSolr Response: Invalid value ‘foo’ for echoParams parameter, use ‘EXPLICIT’ or ‘ALL’ 400 While this turns out to be not a…

…that this first iteration should have at leastrudimentary click metrics built in, and they should live right in Solr. This isn’t the most common practice with Solr. Usually search metrics…

…good enough that I had could pull data in to solr. However, users using a non-LWS Solr may need to also add a version field. In addition, if you need…