[
https://issues.apache.org/jira/browse/SOLR-6779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14222358#comment-14222358
]
Erik Hatcher commented on SOLR-6779:
------------------------------------
I've "fixed" this by moving over the original /browse templates and trimming
out a ton of stuff. It's a generic document list UI with the same ol' search
box. It'll render facet.field's if in the query, but nothing by default (all
other faceting/clustering not ported in this initial commit). I'll need help
making sure we do the right thing when it comes time to moving this and other
such changes to trunk (but I'm not going to Java8 just yet, so trunk is out of
reach for me currently).
The first commit on this was simply to get it working and begin to
minimize/genercize the templates. More to do, for sure.
> /browse fails for schemaless example
> ------------------------------------
>
> Key: SOLR-6779
> URL: https://issues.apache.org/jira/browse/SOLR-6779
> Project: Solr
> Issue Type: Bug
> Affects Versions: 5.0
> Reporter: Alexandre Rafalovitch
> Assignee: Erik Hatcher
> Priority: Blocker
> Labels: examples
> Fix For: 5.0
>
>
> 1. bin/solr start -e schemaless
> 2. http://localhost:8983/solr/schemaless/browse
> {quote}
> HTTP ERROR 500
> Problem accessing /solr/schemaless/browse. Reason:
> \{msg=Unable to find resource 'browse.vm',trace=java.io.IOException:
> Unable to find resource 'browse.vm'
> at
> org.apache.solr.response.VelocityResponseWriter.getTemplate(VelocityResponseWriter.java:177)
> at
> org.apache.solr.response.VelocityResponseWriter.write(VelocityResponseWriter.java:53)
> at
> org.apache.solr.core.SolrCore$LazyQueryResponseWriterWrapper.write(SolrCore.java:2563)
> at
> org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:53)
> at
> org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:763)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:416)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:202)
> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
> at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
> at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
> at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
> at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
> at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
> at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
> at
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
> at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
> at org.eclipse.jetty.server.Server.handle(Server.java:368)
> at
> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
> at
> org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
> at
> org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942)
> at
> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
> at
> org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
> at
> org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
> at java.lang.Thread.run(Thread.java:744)
> ,code=500}
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]