Re: Stopword filter - refreshing stop word list periodically

2011-11-03 Thread Sami Siren
On Fri, Oct 14, 2011 at 10:06 PM, Jithin jithin1...@gmail.com wrote:
 What will be the name of this hard coded core? I was re arranging my
 directory structure adding a separate directory for code. And it does work
 with a single core.

In trunk the single core setup core is called collection1. So to
reload that you'd call url:
http://localhost:8983/solr/admin/cores?action=RELOADcore=collection1

--
 Sami Siren


Re: Stopword filter - refreshing stop word list periodically

2011-11-03 Thread Jithin
Thanks Sami. I ended up setting up a proper core as per documentation,
named core0.

On Thu, Nov 3, 2011 at 11:07 PM, Sami Siren-2 [via Lucene] 
ml-node+s472066n3477844...@n3.nabble.com wrote:

 On Fri, Oct 14, 2011 at 10:06 PM, Jithin [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=3477844i=0
 wrote:
  What will be the name of this hard coded core? I was re arranging my
  directory structure adding a separate directory for code. And it does
 work
  with a single core.

 In trunk the single core setup core is called collection1. So to
 reload that you'd call url:
 http://localhost:8983/solr/admin/cores?action=RELOADcore=collection1

 --
  Sami Siren


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lucene.472066.n3.nabble.com/Stopword-filter-refreshing-stop-word-list-periodically-tp3421611p3477844.html
  To unsubscribe from Stopword filter - refreshing stop word list
 periodically, click 
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3421611code=aml0aGluMTk4N0BnbWFpbC5jb218MzQyMTYxMXwtMTEwMTgwMTA3Ng==.





-- 
Thanks
Jithin Emmanuel


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Stopword-filter-refreshing-stop-word-list-periodically-tp3421611p3479040.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Stopword filter - refreshing stop word list periodically

2011-10-14 Thread Michael Kuhlmann
Am 14.10.2011 15:10, schrieb Jithin:
 Hi,
 Is it possible to refresh the stop word list periodically say once in 6
 hours. Is this already supported in Solr or are there any work arounds.
 Kindly help me in understanding this.

Hi,

you can trigger a reload command to the core admin, assuming you're
running a multi core environment (which I'd recommend anyway).

Simply add
curl http://host:port/solr/admin/cores?action=RELOADcore=corename;
to your /etc/crontab file, and set the leading time fields correspondingly.

-Kuli


Re: Stopword filter - refreshing stop word list periodically

2011-10-14 Thread Otis Gospodnetic
Of course, if you change stop words you may want to reindex your old content, 
so that the new state of stop words is reflected in all documents.
It's not an absolute must to do that, but if you do not do it, you may see 
strange search results that will make you wonder why some documents matched a 
query when they look like they should not have matched, and vice versa.

Otis


Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



From: Michael Kuhlmann k...@solarier.dea
To: solr-user@lucene.apache.org
Sent: Friday, October 14, 2011 9:17 AM
Subject: Re: Stopword filter - refreshing stop word list periodically

Am 14.10.2011 15:10, schrieb Jithin:
 Hi,
 Is it possible to refresh the stop word list periodically say once in 6
 hours. Is this already supported in Solr or are there any work arounds.
 Kindly help me in understanding this.

Hi,

you can trigger a reload command to the core admin, assuming you're
running a multi core environment (which I'd recommend anyway).

Simply add
curl http://host:port/solr/admin/cores?action=RELOADcore=corename;
to your /etc/crontab file, and set the leading time fields correspondingly.

-Kuli




Re: Stopword filter - refreshing stop word list periodically

2011-10-14 Thread Jithin
I am not running in a multi core environment. My application requires only a
single search schema. Does it make sense to go for a multi core setup in
this scenario? Given that we currently have a single core is there any
alternative to RELOAD which work in a single core setup?

On Fri, Oct 14, 2011 at 6:48 PM, Michael Kuhlmann-4 [via Lucene] 
ml-node+s472066n3421627...@n3.nabble.com wrote:

 Am 14.10.2011 15:10, schrieb Jithin:
  Hi,
  Is it possible to refresh the stop word list periodically say once in 6
  hours. Is this already supported in Solr or are there any work arounds.
  Kindly help me in understanding this.

 Hi,

 you can trigger a reload command to the core admin, assuming you're
 running a multi core environment (which I'd recommend anyway).

 Simply add
 curl a href=http://host:port
 /solr/admin/cores?action=RELOADcore=corenamehttp://host:port/solr/admin/cores?action=RELOADcore=corename;

 to your /etc/crontab file, and set the leading time fields correspondingly.


 -Kuli


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lucene.472066.n3.nabble.com/Stopword-filter-refreshing-stop-word-list-periodically-tp3421611p3421627.html
  To unsubscribe from Stopword filter - refreshing stop word list
 periodically, click 
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3421611code=aml0aGluMTk4N0BnbWFpbC5jb218MzQyMTYxMXwtMTEwMTgwMTA3Ng==.





-- 
Thanks
Jithin Emmanuel


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Stopword-filter-refreshing-stop-word-list-periodically-tp3421611p3422004.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Stopword filter - refreshing stop word list periodically

2011-10-14 Thread Otis Gospodnetic
You could restart your Solr instance.  If you have just 1 Solr instance, that 
means a bit of a downtime.  If you have 2 Solr slaves behind a Load Balancer, 
then you can avoid that downtime.
But I think you could also just configure your 1 Solr core via solr.xml and 
then you can use that RELOAD command.

Otis


Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



From: Jithin jithin1...@gmail.com
To: solr-user@lucene.apache.org
Sent: Friday, October 14, 2011 11:21 AM
Subject: Re: Stopword filter - refreshing stop word list periodically

I am not running in a multi core environment. My application requires only a
single search schema. Does it make sense to go for a multi core setup in
this scenario? Given that we currently have a single core is there any
alternative to RELOAD which work in a single core setup?

On Fri, Oct 14, 2011 at 6:48 PM, Michael Kuhlmann-4 [via Lucene] 
ml-node+s472066n3421627...@n3.nabble.com wrote:

 Am 14.10.2011 15:10, schrieb Jithin:
  Hi,
  Is it possible to refresh the stop word list periodically say once in 6
  hours. Is this already supported in Solr or are there any work arounds.
  Kindly help me in understanding this.

 Hi,

 you can trigger a reload command to the core admin, assuming you're
 running a multi core environment (which I'd recommend anyway).

 Simply add
 curl a href=http://host:port
 /solr/admin/cores?action=RELOADcore=corenamehttp://host:port/solr/admin/cores?action=RELOADcore=corename;

 to your /etc/crontab file, and set the leading time fields correspondingly.


 -Kuli


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lucene.472066.n3.nabble.com/Stopword-filter-refreshing-stop-word-list-periodically-tp3421611p3421627.html
  To unsubscribe from Stopword filter - refreshing stop word list
 periodically, click 
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3421611code=aml0aGluMTk4N0BnbWFpbC5jb218MzQyMTYxMXwtMTEwMTgwMTA3Ng==.





-- 
Thanks
Jithin Emmanuel


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Stopword-filter-refreshing-stop-word-list-periodically-tp3421611p3422004.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Stopword filter - refreshing stop word list periodically

2011-10-14 Thread Chris Hostetter

: I am not running in a multi core environment. My application requires only a
: single search schema. Does it make sense to go for a multi core setup in
: this scenario? Given that we currently have a single core is there any
: alternative to RELOAD which work in a single core setup?

In recent versions of Solr (I think since 3.1) every Solr installation is 
a multi-core environemnet, Solr just silently uses a hardcoded default 
solr.xml that uses the solr home dir as the instanceDir of the default 
core if your solr home dir doesn't already contain a solr.xml.

So even if a single core setup, you should still be able to reload the 
core.


-Hoss


Re: Stopword filter - refreshing stop word list periodically

2011-10-14 Thread Jithin
What will be the name of this hard coded core? I was re arranging my
directory structure adding a separate directory for code. And it does work
with a single core.

On Fri, Oct 14, 2011 at 11:47 PM, Chris Hostetter-3 [via Lucene] 
ml-node+s472066n3422415...@n3.nabble.com wrote:


 : I am not running in a multi core environment. My application requires
 only a
 : single search schema. Does it make sense to go for a multi core setup in
 : this scenario? Given that we currently have a single core is there any
 : alternative to RELOAD which work in a single core setup?

 In recent versions of Solr (I think since 3.1) every Solr installation is
 a multi-core environemnet, Solr just silently uses a hardcoded default
 solr.xml that uses the solr home dir as the instanceDir of the default
 core if your solr home dir doesn't already contain a solr.xml.

 So even if a single core setup, you should still be able to reload the
 core.


 -Hoss


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lucene.472066.n3.nabble.com/Stopword-filter-refreshing-stop-word-list-periodically-tp3421611p3422415.html
  To unsubscribe from Stopword filter - refreshing stop word list
 periodically, click 
 herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3421611code=aml0aGluMTk4N0BnbWFpbC5jb218MzQyMTYxMXwtMTEwMTgwMTA3Ng==.





-- 
Thanks
Jithin Emmanuel


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Stopword-filter-refreshing-stop-word-list-periodically-tp3421611p3422550.html
Sent from the Solr - User mailing list archive at Nabble.com.