Deleting index containg a perticular pattern in 'url' field

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Deleting index containg a perticular pattern in 'url' field

beats
HI,

i m using nutch to crawl and solr to index the document.

i want to delete the index containing a perticular word or pattern in url field.

Is there something like Prune Index tool in solr?

thanx in advance

Beats
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Deleting index containg a perticular pattern in 'url' field

Erik Hatcher
You can delete by query - <delete><query>url:some-word</query></delete>

        Erik


On Jul 13, 2009, at 6:34 AM, Beats wrote:

>
> HI,
>
> i m using nutch to crawl and solr to index the document.
>
> i want to delete the index containing a perticular word or pattern  
> in url
> field.
>
> Is there something like Prune Index tool in solr?
>
> thanx in advance
>
> Beats
> [hidden email]
> --
> View this message in context: http://www.nabble.com/Deleting-index-containg-a-perticular-pattern-in-%27url%27-field-tp24459242p24459242.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Deleting index containg a perticular pattern in 'url' field

Mark Miller-3
In reply to this post by beats
On Mon, Jul 13, 2009 at 6:34 AM, Beats <[hidden email]> wrote:

>
> HI,
>
> i m using nutch to crawl and solr to index the document.
>
> i want to delete the index containing a perticular word or pattern in url
> field.
>
> Is there something like Prune Index tool in solr?
>
> thanx in advance
>
> Beats
> [hidden email]
> --
> View this message in context:
> http://www.nabble.com/Deleting-index-containg-a-perticular-pattern-in-%27url%27-field-tp24459242p24459242.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
You can delete by query and they query can contain wildcards.

--
--
- Mark

http://www.lucidimagination.com