lucene-dev mailing list archives

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


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:
>             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}
> Problem accessing /solr/schemaless/browse. Reason:
>    \{msg=Unable to find resource 'browse.vm', Unable to find
resource 'browse.vm'
> 	at org.apache.solr.response.VelocityResponseWriter.getTemplate(
> 	at org.apache.solr.response.VelocityResponseWriter.write(
> 	at org.apache.solr.core.SolrCore$LazyQueryResponseWriterWrapper.write(
> 	at org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(
> 	at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(
> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
> 	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(
> 	at
> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(
> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(
> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(
> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(
> 	at org.eclipse.jetty.server.handler.HandlerCollection.handle(
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
> 	at org.eclipse.jetty.server.Server.handle(
> 	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(
> 	at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(
> 	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(
> 	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(
> 	at org.eclipse.jetty.http.HttpParser.parseNext(
> 	at org.eclipse.jetty.http.HttpParser.parseAvailable(
> 	at org.eclipse.jetty.server.BlockingHttpConnection.handle(
> 	at$
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$
> 	at
> ,code=500}
> {quote}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message