# Adding one url to rdig index?

**URL:** <https://www.ruby-forum.com/t/adding-one-url-to-rdig-index/81254>\
**Category:** Ferret\
**Created:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/adding-one-url-to-rdig-index/81254 "2007-01-06T19:30:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dylan\_Vaughn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9e8a1a/32.png) [@Dylan\_Vaughn](https://www.ruby-forum.com/u/Dylan_Vaughn)\
**Post date:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/adding-one-url-to-rdig-index/81254/1 "2007-01-06T19:30:45Z")

</div>

Hey there,

I’m building a rails site using RDig as a site-wide search. I would  
like to be able to add just one URL (or possibly a list) to an existing  
index, so that when certain pages change I can update the index without  
reindexing the entire site. I looked through the documentation and  
didn’t see an example on how to do this so I am looking for some  
guidance here :). Is this possible with RDig and if so what is the  
syntax?

Thanks in advance,

Dylan

* * *

Do You Yahoo!?  
Tired of spam? Yahoo! Mail has the best spam protection around

> **[Yahoo Mail - Organized Email](https://mail.yahoo.com/)**
>
> It's time to get stuff done with Yahoo Mail. Just add your Gmail, Outlook, AOL or Yahoo Mail to get going. We automatically organize all the things life throws at you, like receipts and attachments, so you can find what you need fast. Plus, we've got...

---

<div class="post-metadata">

**Author:** ![Dylan\_Vaughn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9e8a1a/32.png) [@Dylan\_Vaughn](https://www.ruby-forum.com/u/Dylan_Vaughn)\
**Post date:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/adding-one-url-to-rdig-index/81254/2 "2007-01-06T19:30:46Z")

</div>

Hi!

On Fri, Jan 05, 2007 at 10:38:08AM -0800, Dylan Vaughn wrote:

> Hey there,
> 
> I’m building a rails site using RDig as a site-wide search. I would like to be able to add just one URL (or possibly a list) to an existing index, so that when certain pages change I can update the index without reindexing the entire site. I looked through the documentation and didn’t see an example on how to do this so I am looking for some guidance here :). Is this possible with RDig and if so what is the syntax?

I’m afraid this is not possible with RDig out of the box. However it  
should be fairly easy to hack RDig so it does what you want.

If you told the crawler to not follow any links, and then gave your urls  
as start url list, you’d be nearly done. Nearly because you have to make  
sure any older versions of the same documents get removed from the index  
properly before re-adding them.

Jens

–  
webit! Gesellschaft für neue Medien mbH [www.webit.de](http://www.webit.de)  
Dipl.-Wirtschaftsingenieur Jens Krämer removed\_email\_address@domain.invalid  
Schnorrstraße 76 Tel +49 351 46766 0  
D-01069 Dresden Fax +49 351 46766 66
