lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Solr Admin XPath
Date Tue, 08 Dec 2009 19:00:38 GMT

Wild shots in the dark:

 * remove the white psace arround the "=" characters
 * replace the single-quote characters with double quote characters

:             XPathExpression reqPerSec = xpath.compile("/solr/solr-info/QUERYHANDLER/entry[name
= 'dismax']/stats/stat[@name = 'avgRequestsPerSecond']");
	...
: This doesn't throw any errors, and the XPath works just fine in /any/ XPath tester I try...
except Java. 


-Hoss


Mime
View raw message