Re: Ranking position in solr

2010-07-14 Thread Ahmet Arslan
> I sent this command: curl http://localhost:8081/solr/update -F stream.body=' > ', but it doesn't reload. > > It doesn't reload automatically after every commit or > optimize unless I add > new document then i commit. Hmm. May be there is an easier way to force it? (add empty/dummy doc) But if y

Re: Ranking position in solr

2010-07-14 Thread Chamnap Chhorn
I sent this command: curl http://localhost:8081/solr/update -F stream.body=' ', but it doesn't reload. It doesn't reload automatically after every commit or optimize unless I add new document then i commit. Any idea? On Tue, Jul 13, 2010 at 4:54 PM, Ahmet Arslan wrote: > > I'm using solr 1.4 a

Re: Ranking position in solr

2010-07-13 Thread Ahmet Arslan
> I'm using solr 1.4 and only one core. > The elevate xml file is quite big, and > i wonder can solr handle that? How to reload the core? Markus Jelsma's suggestion is more robust. You don't need to restart or reload anything. Put elevate.xml under data directory. It will reloaded automatically

Re: Ranking position in solr

2010-07-13 Thread Chamnap Chhorn
I'm using solr 1.4 and only one core. The elevate xml file is quite big, and i wonder can solr handle that? How to reload the core? On Tue, Jul 13, 2010 at 4:12 PM, Ahmet Arslan wrote: > > The problem is that every time I > > update the elevate.xml, I need to restart > > solr tomcat service. Thi

Re: Ranking position in solr

2010-07-13 Thread Ahmet Arslan
> The problem is that every time I > update the elevate.xml, I need to restart > solr tomcat service. This feature needs to be updated > frequently. How would > i handle that? You can reload core, without restarting tomcat, if you are using multi-core setup. Which version of solr are you using?

Re: Ranking position in solr

2010-07-13 Thread Markus Jelsma
No, it can build for each new searcher [1]. [1]: http://wiki.apache.org/solr/QueryElevationComponent#config-file On Tuesday 13 July 2010 11:02:10 Chamnap Chhorn wrote: > The problem is that every time I update the elevate.xml, I need to restart > solr tomcat service. This feature needs to be upd

Re: Ranking position in solr

2010-07-13 Thread Chamnap Chhorn
The problem is that every time I update the elevate.xml, I need to restart solr tomcat service. This feature needs to be updated frequently. How would i handle that? Any idea or other solutions? On Mon, Jul 12, 2010 at 5:45 PM, Ahmet Arslan wrote: > > I wonder there is a proper way to > > fulfi

Re: Ranking position in solr

2010-07-12 Thread Ahmet Arslan
> I wonder there is a proper way to > fulfill this requirement. A book has > several keyphrases. Each keyphrase consists from one word > to 3 words. The > author could either buy keyphrase position or don't buy > position. Note: each > author could buy more than 1 keyphrase. The keyphrase > search

Ranking position in solr

2010-07-12 Thread Chamnap Chhorn
I wonder there is a proper way to fulfill this requirement. A book has several keyphrases. Each keyphrase consists from one word to 3 words. The author could either buy keyphrase position or don't buy position. Note: each author could buy more than 1 keyphrase. The keyphrase search must be exact an