I've managed to get it to work. In windows we have to put the full path
name to the jar file in the jdk in Java
Thank you so much for your help!
Regards,
Edwin
On 26 May 2015 at 11:15, Zheng Lin Edwin Yeo wrote:
> I have problems running the command 'jar xvf solr.war'.
> When I try to run th
I have problems running the command 'jar xvf solr.war'.
When I try to run that, it will give an error: 'jar' is not recognized as
an internal or external command, operable program or batch file.
Is there anything which I might have missed out?
Regards,
Edwin
On 26 May 2015 at 10:59, William B
Err.. Here is the procedure for 5.1:
mkdir war
cp ../solr-5.1.0/server/webapps/solr.war .
jar xvf solr.war
cd WEB-INF
vi web.xml
Add this above the already there (and save it after adding this).
GzipFilter
org.eclipse.jetty.servlets.GzipFilter
mimeTypes
You need to edit the web.xml as I stated above and put the solr.war file
back.
Instead of "example" it is "server". Note: 4.10.4 and 5.1.0 uses the same
Jetty. 8.1.10.v20130312
Here is the procedure for 5.1:
mkdir war
cp ../solr-5.1.0/example/webapps/solr.war .
jar xvf solr.war
cd WEB-INF
vi
Although we do not plan to implement Solr to be access over the internet
directly, it will be accessed via a local area network (Eg within the
company).
As there could potentially be alot of data indexed in Solr (especially
rich-text documents), and that will probably take up alot of bandwidth, we
Why do you want gzip compression? Solr generally sits close to your
application server, so compression should be less necesasry there. Solr
isn't intended to be serving the public over the internet directly,
particularly because of its lack of security so it should be feeding
some other HTTP server
Thanks for your reply.
Do we still have to use back the solr.war file in Solr 5.1 in order to get
the gzip working?
Regards,
Edwin
On 25 May 2015 at 06:57, William Bell wrote:
> OK I got mine to work with 4.10.4 and it also works on 5.1...
>
> mkdir war cp ../solr-4.10.4/example/webapps/solr
OK I got mine to work with 4.10.4 and it also works on 5.1...
mkdir war cp ../solr-4.10.4/example/webapps/solr.war . jar xvf
solr.war cd WEB-INF vi web.xmlAdd this above the already
there:GzipFilter
org.eclipse.jetty.servlets.GzipFilter
mimeTypes
application/xml,applica