[prev in list] [next in list] [prev in thread] [next in thread]
List: solr-user
Subject: Re: Automating Solr
From: Craig Hoffman <mountain.dog () gmail ! com>
Date: 2014-10-30 19:57:37
Message-ID: 14F11E42-3BF8-4D57-B920-14B4A26EC6A8 () gmail ! com
[Download RAW message or body]
Thanks everyone. I got it working.
--
Craig Hoffman
w: http://www.craighoffmanphotography.com
FB: www.facebook.com/CraigHoffmanPhotography
TW: https://twitter.com/craiglhoffman
> On Oct 30, 2014, at 1:48 PM, Shawn Heisey <apache@elyograg.org> wrote:
>
> On 10/30/2014 1:27 PM, Craig Hoffman wrote:
> > Thanks! One more question. WGET seems to choking on a my URL in particular the # \
> > and the & character . What's the best method escaping?
> > http://<My Host> \
> > :8983/solr/#/articles/dataimport//dataimport?command=full-import&clean=true&optimize=true
> >
>
> Putting the URL in quotes would work ... but if you are calling a Solr
> URL with /#/ in it, you're doing it wrong.
>
> URLs with /#/ in them are specifically for the admin UI. They only work
> properly in a browser, where javascript and AJAX are available. They
> will NOT work like you expect with wget, even if you get the URL escaped
> properly.
>
> See the cron example that Ramzi Alqrainy gave you for the proper way of
> requesting a full-import.
>
> Thanks,
> Shawn
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic