|
Jithin
2011-10-14, 13:10
Michael Kuhlmann
2011-10-14, 13:17
Otis Gospodnetic
2011-10-14, 15:07
Jithin
2011-10-14, 15:21
Otis Gospodnetic
2011-10-14, 15:44
Chris Hostetter
2011-10-14, 18:16
Jithin
2011-10-14, 19:06
Sami Siren
2011-11-03, 10:39
Jithin
2011-11-04, 01:52
|
-
Stopword filter - refreshing stop word list periodicallyJithin 2011-10-14, 13:10
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. -- View this message in context: http://lucene.472066.n3.nabble.com/Stopword-filter-refreshing-stop-word-list-periodically-tp3421611p3421611.html Sent from the Solr - User mailing list archive at Nabble.com.
-
Re: Stopword filter - refreshing stop word list periodicallyMichael Kuhlmann 2011-10-14, 13:17
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=RELOAD&core=corename" to your /etc/crontab file, and set the leading time fields correspondingly. -Kuli
-
Re: Stopword filter - refreshing stop word list periodicallyOtis Gospodnetic 2011-10-14, 15:07
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 <[EMAIL PROTECTED]>a >To: [EMAIL PROTECTED] >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=RELOAD&core=corename" >to your /etc/crontab file, and set the leading time fields correspondingly. > >-Kuli > > >
-
Re: Stopword filter - refreshing stop word list periodicallyJithin 2011-10-14, 15:21
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+[EMAIL PROTECTED]> 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=RELOAD&core=corename">http://host:port/solr/admin/cores?action=RELOAD&core=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 here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3421611&code=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 periodicallyOtis Gospodnetic 2011-10-14, 15:44
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 <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >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+[EMAIL PROTECTED]> 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=RELOAD&core=corename">http://host:port/solr/admin/cores?action=RELOAD&core=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 here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3421611&code=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 periodicallyChris Hostetter 2011-10-14, 18:16
: 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 periodicallyJithin 2011-10-14, 19:06
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+[EMAIL PROTECTED]> 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 here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3421611&code=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.
-
Re: Stopword filter - refreshing stop word list periodicallySami Siren 2011-11-03, 10:39
On Fri, Oct 14, 2011 at 10:06 PM, Jithin <[EMAIL PROTECTED]> 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=RELOAD&core=collection1 -- Sami Siren
-
Re: Stopword filter - refreshing stop word list periodicallyJithin 2011-11-04, 01:52
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+[EMAIL PROTECTED]> wrote: > On Fri, Oct 14, 2011 at 10:06 PM, Jithin <[hidden email]<http://user/SendEmail.jtp?type=node&node=3477844&i=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=RELOAD&core=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 here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3421611&code=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. |