lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toby Cole <toby.c...@semantico.com>
Subject Re: Delete solr data from disk space
Date Tue, 04 Aug 2009 13:58:01 GMT
Hi Anish,
	Have you optimized your index?
When you delete documents in lucene they are simply marked as  
'deleted', they aren't physically removed from the disk.
To get the disk space back you must run an optimize, which re-writes  
the index out to disk without the deleted documents, then deletes the  
original.

Toby

On 4 Aug 2009, at 14:41, Ashish Kumar Srivastava wrote:

>
> Hi ,
>
>
> Sorry!! But this solution will not work because I deleted data by  
> certain
> query.
> Then how can i know which files should be deleted. I cant delete  
> whole data.
>
>
>
> Markus Jelsma - Buyways B.V. wrote:
>>
>> Hello,
>>
>>
>> A rigorous but quite effective method is manually deleting the  
>> files in
>> your SOLR_HOME/data directory and reindex the documents you want.  
>> This
>> will surely free some diskspace.
>>
>>
>> Cheers,
>>
>> -
>> Markus Jelsma                  Buyways B.V.             Tel.  
>> 050-3118123
>> Technisch Architect            Friesestraatweg 215c     Fax.  
>> 050-3118124
>> http://www.buyways.nl          9743 AD Groningen        KvK  01074105
>>
>>
>> On Tue, 2009-08-04 at 06:26 -0700, Ashish Kumar Srivastava wrote:
>>
>>> I am facing a problem in deleting solr data form disk space.
>>> I had 80Gb of of solr data. I deleted 30% of these data by using  
>>> query in
>>> solr-php client and committed.
>>> Now deleted data is not visible from the solr UI but used disk  
>>> space is
>>> still 80Gb for solr data.
>>> Please reply if you have any solution to free the disk space after
>>> deleting
>>> some solr data.
>>>
>>> Thanks in advance.
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Delete-solr-data-from-disk-space-tp24808676p24808883.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


--
Toby Cole
Software Engineer, Semantico Limited
Registered in England and Wales no. 03841410, VAT no. GB-744614334.
Registered office Lees House, 21-23 Dyke Road, Brighton BN1 3FE, UK.

Check out all our latest news and thinking on the Discovery blog
http://blogs.semantico.com/discovery-blog/


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