Ok. Thanks for the clarification.
Regards,
Edwin
On 3 September 2017 at 00:52, Erick Erickson
wrote:
> Ah, my mistake.
>
> The merge tool apparently has to lock the index, which actually makes
> sense.
>
> Best,
> Erick
>
> On Sat, Sep 2, 2017 at 9:08 AM, Zheng Lin Edwin Yeo
> wrote:
> > Hi Er
Ah, my mistake.
The merge tool apparently has to lock the index, which actually makes sense.
Best,
Erick
On Sat, Sep 2, 2017 at 9:08 AM, Zheng Lin Edwin Yeo
wrote:
> Hi Erick,
>
> Thanks for your reply.
>
> However, I get this error when I tried to run the IndexMergeTool when Solr
> is running.
Hi Erick,
Thanks for your reply.
However, I get this error when I tried to run the IndexMergeTool when Solr
is running. But the merge is successful when I stop Solr.
What could be the reason?
Merging...
Exception in thread "main"
org.apache.lucene.store.LockObtainFailedException: Lock held by an
You don't have to stop solr to run the merge index tool. I would,
however, stop _indexing_ to that Solr instance.
And you probably have to reload the core (or restart the collection)
afterwards to pick up the merged documents.
Best,
Erick
On Fri, Sep 1, 2017 at 6:46 AM, Zheng Lin Edwin Yeo
wrot
Hi,
Just to check, are we able to run the IndexMergeTool on the index that is
still running on Solr? Or do we have to stop Solr first before running the
IndexMergeTool?
Regards,
Edwin
On 26 August 2017 at 23:41, Zheng Lin Edwin Yeo
wrote:
> Thanks for pointing out the mistake. The script can r
Thanks for pointing out the mistake. The script can run after I correct the
":" to ";".
However, I am getting the following error now.
Merging...
Exception in thread "main" org.apache.lucene.index.IndexNotFoundException:
no se
gments* file found in HardlinkCopyDirectoryWrapper(MMapDirectory@C
:\s
Hi,
Isn't the Windows classpath separator a semi-colon? Like this:
cene-core-6.5.1.jar"*;*"C:solr/serve
Just saying.
Regards.
On Fri, Aug 25, 2017 at 8:33 PM, Zheng Lin Edwin Yeo
wrote:
> Hi Erick,
>
> Thanks for your reply.
> I have check, it was not due to the typo. The same error occurs even
Hi Erick,
Thanks for your reply.
I have check, it was not due to the typo. The same error occurs even with
the slash.
Regards,
Edwin
On 26 August 2017 at 05:16, Erick Erickson wrote:
> You classpath is not correct. Unless it's a typo,
> :"C:solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-mis
You classpath is not correct. Unless it's a typo,
:"C:solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-misc-6.5.1.jar"
is wrong, it should be:
"C:/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-misc-6.5.1.jar",
note the slash before "solr".
If that's not just a typo you need to look further as