Looks like a write lock. Did reloading the core fix that? I guess it would
have been fixed by now. I guess you had run the delete query few moments
after restoring, no?

On Thu, 12 Dec 2019 at 21:55, rhys J <rhyssha...@gmail.com> wrote:

> I was able to successfully restore a backup by specifying name and location
> in the restore command.
>
> But now when i try to run:
>
> sudo -u solr curl http://localhost:8983/solr/debt/update -H "Content-type:
> text/xml" --data-binary '<delete><query>*:*</query></delete>'
>
> I get the following error:
>
>  <str name="msg">no segments* file found in
> LockValidatingDirectoryWrapper(NRTCachingDirectory(MMapDirectory@
> /var/solr/data/debt/data/index
> lockFactory=org.apache.lucene.store.NativeFSLockFactory@4746f577;
> maxCacheMB=48.0 maxMergeSizeMB=4.0)): files: [write.lock]</str>
>   <str name="trace">org.apache.lucene.index.IndexNotFoundException: no
> segments* file found in
> LockValidatingDirectoryWrapper(NRTCachingDirectory(MMapDirectory@
> /var/solr/data/debt/data/index
> lockFactory=org.apache.lucene.store.NativeFSLockFactory@4746f577;
> maxCacheMB=48.0 maxMergeSizeMB=4.0)): files: [write.lock]
>
> I am just copying the top portion of the error, as it is very long.
>
> What did I do wrong?
>
> Thanks,
>
> Rhys
>


-- 
-- 
Regards,

*Paras Lehana* [65871]
Development Engineer, Auto-Suggest,
IndiaMART Intermesh Ltd.

8th Floor, Tower A, Advant-Navis Business Park, Sector 142,
Noida, UP, IN - 201303

Mob.: +91-9560911996
Work: 01203916600 | Extn:  *8173*

-- 
*
*

 <https://www.facebook.com/IndiaMART/videos/578196442936091/>

Reply via email to