On Tue, Jul 14, 2009 at 09:15, Beats<[email protected]> wrote:
>
>
>
> Doğacan Güney-3 wrote:
>>
>> On Mon, Jul 13, 2009 at 10:10, Beats<[email protected]> wrote:
>>>
>>> hi,
>>>
>>> i want delete indexes whose url field contain certain character.
>>>
>>
>> Are you using solr or lucene for your indexes?
>>
>> i m using Solr.
>>

Then you can easily delete using Solr's HTTP interface. Not sure about
syntax but:

curl "http://[solr host]/solr/update" --data-binary
"<delete><query>[your query here]</query></delete>" -H
'Content-type:text/xml; charset=utf-8'

curl "http://[solr host]/solr/update" --data-binary "<commit/>" -H
'Content-type:text/xml; charset=utf-8'

Query can be any valid solr query. This will delete all documents that
match the query.

>>
>>>
>>> any help would b appriciated.
>>>
>>> thanx in advance
>>>
>>> [email protected]
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Deleting-indexes-tp24457104p24457104.html
>>> Sent from the Nutch - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> Doğacan Güney
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Deleting-indexes-tp24457104p24474234.html
> Sent from the Nutch - User mailing list archive at Nabble.com.
>
>



-- 
Doğacan Güney

Reply via email to