lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: How to change Solr UI
Date Mon, 03 Dec 2012 16:35:30 GMT
Adding to what Iwan said, I want to be sure you're not confusing
prototyping with a full-fledged application. The Velocity code included is
mostly intended as a rapid-prototyping vehicle. There are significant
security issues if you try to use it as your user-facing application, be
sure you trust your users if you go down this route.

But to change it, see the Apache velocity project, and the code in <solr

Note that Velocity _can_ be used for user-facing code, but be very sure you
secure your Solr. If you allow direct access, a user can easily enter
something like http://<solr>/update?commit=true&stream.body=<delete><query>*:*</query></delete>.
And all your documents will be gone.

Most installations use a middle layer between Solr and the user that
controls access.


On Mon, Dec 3, 2012 at 5:01 AM, Iwan Hanjoyo <> wrote:

> Hi Romita,
> In my opinion, if you are new to Solr, you can start learning from
> Solritas.
> Solritas uses Apache Velocity, a templating language, CSS and JQuery to
> manage it looks and behavior.
> Besides that you can write a custom SearchComponent inside the /browse
> SearchHandler
> to add more functionality to your search application.
> Kind regards,
> Hanjoyo
> On Mon, Dec 3, 2012 at 4:35 PM, Romita Saha <
> >wrote:
> > Hi,
> >
> > I want to change the Solr UI. As far as i understand, Solritas is just
> for
> > prototyping, where I can change the UI according to a predefined template
> > (Velocity) and cannot add on any additional functionality to that page.
> > How can I change the Solr UI otherwise. Any guidance would be
> appreciated.
> >
> > Thanks and regards,
> > Romita
> >

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message