lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <>
Subject Re: Merging multicore indexes
Date Tue, 06 Oct 2009 21:25:58 GMT
On Wed, Oct 7, 2009 at 2:40 AM, Paul Rosen <>wrote:

> Shalin Shekhar Mangar wrote:
>  The path on the wiki page was wrong. You need to use the adminPath in the
>> url. Look at the adminPath attribute in solr.xml. It is typically
>> /admin/cores
>> So the correct path for you would be:
>> http://localhost:8983/solr/admin/cores?action=mergeindexes&core=merged&indexDir=/Users/my/path/solr_1.4/solr/data/reindexed_marc/index&indexDir=/Users/my/path/solr_1.4/solr/data/reindexed_rdf/index
>> <
>> http://localhost:8983/solr/merged/admin/?action=mergeindexes&core=merged&indexDir=/Users/my/path/solr_1.4/solr/data/reindexed_marc/index&indexDir=/Users/my/path/solr_1.4/solr/data/reindexed_rdf/index
>> I've fixed the wiki too.
> I think I've got it working. The only difference to the above is that it
> seems to want a relative path, so when I took off the
> "/Users/my/path/solr_1.4/" part I stopped getting errors.
There's no reason why it won't work with an absolute path. Can you post the
error? Also, did you correctly urlencode the parameters (if you are using
the browser to make such a request, perhaps the '/' character is causing a

> (Also, I had an insidious problem when using the interface to the browser
> in FF 3.5. It cached my results, so when I queried the core with "*:*" I got
> no results until I cleared my cache. - Hopefully that will save someone else
> a little time.)
Yeah, if you are not using any HTTP caches, you can turn it off by adding
the following in the <requestDispatcher> section:

<httpCaching never304="true">

Shalin Shekhar Mangar.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message