lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6779) /browse fails for schemaless example
Date Mon, 01 Dec 2014 16:06:13 GMT

    [ https://issues.apache.org/jira/browse/SOLR-6779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14229946#comment-14229946
] 

Erik Hatcher commented on SOLR-6779:
------------------------------------

bq. However, we have users putting Solr facing the web directly...

and putting HTML/JavaScript/Ajax UI's on top of Solr without security too.  Again, wt=velocity
is no different than wt=json.   

Point taken, of course, just wanted to, again, attempt to dispel what I can about /browse.
 Certainly it was intended as a prototype / playground for the techproducts data example,
but it's more than just that.  One of the things I'm working on and alluded to in e-mail recently
was to pull the templates out of conf/velocity and get basic ones baked into either the solr-velocity
JAR or into a separate JAR.  It's probably little known that wt=velocity can serve templates
from the SolrResourceLoader (i.e. the plugins).  One of the goals has always been to have
plugins be able to have their own UI bits, and wt=velocity has supported that since day one.
 I'll do more to showcase this in 5.x (hopefully in time for 5.0 even), with template overridability
(already supported) too.  More on this in a few weeks.

> /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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message