lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Koton" <nick.ko...@gmail.com>
Subject SOLR 4 ALPHA /terms /browse
Date Thu, 19 Jul 2012 00:42:47 GMT
When I setup a 2 shard cluster using the example and run it through its
paces, I find two features that do not work as I expect.  Any suggestions on
adjusting my configuration or expectations would be appreciated.

/terms does not return any terms when issued as follows:
http://hostname:8983/solr/terms?terms.fl=name&terms=true&terms.limit=-1&isSh
ard=true&terms.sort=index&terms.prefix=s
but does return reasonable results when distrib is turned off like so
http://hostname:8983/solr/terms?terms.fl=name&terms=true&distrib=false&terms
.limit=-1&isShard=true&terms.sort=index&terms.prefix=s

/browse returns this stack trace to the browser
HTTP ERROR 500

Problem accessing /solr/browse. Reason:

    {msg=ZkSolrResourceLoader does not support getConfigDir() - likely, what
you are trying to do is not supported in ZooKeeper
mode,trace=org.apache.solr.common.cloud.ZooKeeperException:
ZkSolrResourceLoader does not support getConfigDir() - likely, what you are
trying to do is not supported in ZooKeeper mode
	at
org.apache.solr.cloud.ZkSolrResourceLoader.getConfigDir(ZkSolrResourceLoader
.java:99)
	at
org.apache.solr.response.VelocityResponseWriter.getEngine(VelocityResponseWr
iter.java:117)
	at
org.apache.solr.response.VelocityResponseWriter.write(VelocityResponseWriter
.java:40)
	at
org.apache.solr.core.SolrCore$LazyQueryResponseWriterWrapper.write(SolrCore.
java:1990)
	at
org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.
java:398)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:
276)
	at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler
.java:1337)
	at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484)
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119
)
	at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
	at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java
:233)
	at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java
:1065)
	at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413)
	at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:
192)
	at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:
999)
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117
)
	at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:250)
	at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.
java:149)
	at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:1
11)
	at org.eclipse.jetty.server.Server.handle(Server.java:351)
	at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpCo
nnection.java:454)
	at
org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpCo
nnection.java:47)
	at
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpC
onnection.java:890)
	at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplet
e(AbstractHttpConnection.java:944)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)
	at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
	at
org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnectio
n.java:66)
	at
org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketCon
nector.java:254)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:
599)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:5
34)
	at java.lang.Thread.run(Thread.java:662)
,code=500}

Best regards,
Nick Koton




Mime
View raw message