First, solritas isn't intended to be a user-facing Solr interface, it's
generally considered a prototyping tool in Solr. You're allowing
unrestricted access to Solr, so I can enter
...../update?stream.body=<delete><query/>*:*</query></delete>&commit=true
in the url and delete your entire index. Are you sure you want to do this?

People have done it, but a far more common option is to put Solr behind a
proper middleware app and control the queries.

All that said, if you still want to do this you need to modify the
conf/velocity files, see the Apache Velocity project for details.

Best
Erick


On Tue, Nov 27, 2012 at 7:00 AM, Romita Saha
<romita.s...@sg.panasonic.com>wrote:

> Hi,
>
> I want to change the UI of Solr. As far as I understand, I need to append
> the following code in the solrconfig.xml file. Could anyone please help me
> find out how I need to write my query url and whether I  need to change
> any other files other than solrconfig.xml.
>
>   <requestHandler name="/browse" class="solr.SearchHandler">
>     <lst name="defaults">
>      <str name="wt">velocity</str>
>      <str name="v.template">browse</str>
>      <str name="v.layout">layout</str>
>      <str name="title">Solritas</str>
>      <str name="defType">dismax</str>
>      <str name="q.alt">*:*</str>
>      <str name="rows">10</str>
>      <str name="fl">data,id,score</str>
>     </lst>
>   </requestHandler>
>
>
> Thanks and regards,
> Romita

Reply via email to