# Ruby/Odeum

**URL:** <https://www.ruby-forum.com/t/ruby-odeum/168595>\
**Category:** Ruby\
**Created:** [May 22, 2009, 7:09pm UTC](https://www.ruby-forum.com/t/ruby-odeum/168595 "2009-05-22T19:09:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sevensoft](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sevensoft](https://www.ruby-forum.com/u/sevensoft)\
**Post date:** [May 22, 2009, 7:09pm UTC](https://www.ruby-forum.com/t/ruby-odeum/168595/1 "2009-05-22T19:09:09Z")

</div>

I’m looking to use an inverted index for Ruby. There used to be Zed  
Shaw’s Ruby/odeum that did this using QDBM’s inverted index API. I can  
find references to this all over the web, unfortuntely but the original  
site is gone and I can’t find any mirrors.

Can anybody help me out?

---

<div class="post-metadata">

**Author:** ![sevensoft](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sevensoft](https://www.ruby-forum.com/u/sevensoft)\
**Post date:** [May 22, 2009, 8:37pm UTC](https://www.ruby-forum.com/t/ruby-odeum/168595/2 "2009-05-22T20:37:36Z")

</div>

On Fri, May 22, 2009 at 7:08 PM, Ken B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’m looking to use an inverted index for Ruby. There used to be Zed  
> Shaw’s Ruby/odeum that did this using QDBM’s inverted index API. I can  
> find references to this all over the web, unfortuntely but the original  
> site is gone and I can’t find any mirrors.
> 
> Can anybody help me out?  
> If not maybe you would care to explain what is an inverted index please  
> ;).

–  
Toutes les grandes personnes ont d’abord été des enfants, mais peu  
d’entre elles s’en souviennent.

All adults have been children first, but not many remember.

[Antoine de Saint-Exupéry]

---

<div class="post-metadata">

**Author:** ![sevensoft](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sevensoft](https://www.ruby-forum.com/u/sevensoft)\
**Post date:** [May 22, 2009, 10:55pm UTC](https://www.ruby-forum.com/t/ruby-odeum/168595/3 "2009-05-22T22:55:15Z")

</div>

hi ken!

Ken B. [2009-05-22 19:08]:

> I’m looking to use an inverted index for Ruby. There used to be  
> Zed S.'s Ruby/odeum that did this using QDBM’s inverted index  
> API. I can find references to this all over the web, unfortuntely  
> but the original site is gone and I can’t find any mirrors.  
> you can find the project page on the internet archive [1] and the  
> gem on rubyforge (gem install ruby\_odeum). is that what you’re after?

[1]  
[http://web.archive.org/web/\*/http://www.zedshaw.com/projects/ruby\_odeum/](http://web.archive.org/web/*/http://www.zedshaw.com/projects/ruby_odeum/)

cheers  
jens

---

<div class="post-metadata">

**Author:** ![sevensoft](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sevensoft](https://www.ruby-forum.com/u/sevensoft)\
**Post date:** [May 22, 2009, 10:57pm UTC](https://www.ruby-forum.com/t/ruby-odeum/168595/4 "2009-05-22T22:57:37Z")

</div>

In article [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
you wrote:

> On Fri, May 22, 2009 at 7:08 PM, Ken B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > I’m looking to use an inverted index for Ruby. There used to be Zed  
> > Shaw’s Ruby/odeum that did this using QDBM’s inverted index API. I can  
> > find references to this all over the web, unfortuntely but the original  
> > site is gone and I can’t find any mirrors.
> > 
> > Can anybody help me out?  
> > If not maybe you would care to explain what is an inverted index please ;).

An inverted index is an index from terms to the documents that they  
appear in. Typically drawn as:

word1 → doc1, doc2, doc3, doc4  
word2 → doc1, doc4, doc7, doc12  
word3 → doc5, doc6, doc7, doc12

It could be expressed as a Hash of Arrays, but when you start  
operating on even medium-small text collections, it can get  
inefficient to load the whole thing into RAM when you don’t need  
to.

---

<div class="post-metadata">

**Author:** ![sevensoft](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sevensoft](https://www.ruby-forum.com/u/sevensoft)\
**Post date:** [May 23, 2009, 5:18am UTC](https://www.ruby-forum.com/t/ruby-odeum/168595/5 "2009-05-23T05:18:59Z")

</div>

On Sat, May 23, 2009 at 02:08:34AM +0900, Ken B. wrote:

> I’m looking to use an inverted index for Ruby. There used to be Zed  
> Shaw’s Ruby/odeum that did this using QDBM’s inverted index API. I can  
> find references to this all over the web, unfortuntely but the original  
> site is gone and I can’t find any mirrors.
> 
> Can anybody help me out?

Don’t forget about Ferret. [http://ferret.davebalmain.com/trac](http://ferret.davebalmain.com/trac)

Also If you can wait a week or so, I’m working on a preliminary ruby  
interface  
to Tokyo Dystopia.

```
http://tokyocabinet.sourceforge.net/dystopiadoc/

```

enjoy,

-jeremy

---

<div class="post-metadata">

**Author:** ![sevensoft](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sevensoft](https://www.ruby-forum.com/u/sevensoft)\
**Post date:** [May 23, 2009, 9:48am UTC](https://www.ruby-forum.com/t/ruby-odeum/168595/6 "2009-05-23T09:48:32Z")

</div>

On Fri, May 22, 2009 at 10:56 PM, Ken B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:  
Ty Ken, I was completely fixed on “internet indices”.  
Now that I know I follow the thread with interest 🙂  
R.

---

<div class="post-metadata">

**Author:** ![sevensoft](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sevensoft](https://www.ruby-forum.com/u/sevensoft)\
**Post date:** [May 24, 2009, 6:09am UTC](https://www.ruby-forum.com/t/ruby-odeum/168595/7 "2009-05-24T06:09:10Z")

</div>

On Sat, 23 May 2009 05:51:59 +0900, Jens W. wrote:

> [1]  
> \<[Wayback Machine](http://web.archive.org/web/*/http://www.zedshaw.com/projects/)  
> ruby\_odeum/\>
> 
> cheers  
> jens

Unfortunately they don’t mirror the actual gems.

In the end I found that version 0.2.1 is on Rubyforge (somewhere – a  
search on the website didn’t find a project responsible for maintining  
it, but I found the gem in RubyGems), and I somehow got my hands on an  
0.4 gem which I have mirrored at [http://www.iit.edu/~kbloom1/](http://www.iit.edu/~kbloom1/) for the  
time being, until I find something better to do with it.

–Ken

---

<div class="post-metadata">

**Author:** ![sevensoft](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sevensoft](https://www.ruby-forum.com/u/sevensoft)\
**Post date:** [May 24, 2009, 6:22am UTC](https://www.ruby-forum.com/t/ruby-odeum/168595/8 "2009-05-24T06:22:37Z")

</div>

Ken,

On Sat, May 23, 2009 at 9:08 PM, Ken B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Unfortunately they don’t mirror the actual gems.
> 
> In the end I found that version 0.2.1 is on Rubyforge (somewhere – a  
> search on the website didn’t find a project responsible for maintining  
> it, but I found the gem in RubyGems), and I somehow got my hands on an  
> 0.4 gem which I have mirrored at [http://www.iit.edu/~kbloom1/](http://www.iit.edu/~kbloom1/)[http://www.iit.edu/~kbloom1/](http://www.iit.edu/%7Ekbloom1/)for the  
> time being, until I find something better to do with it.

Zed still has all the software on his web site - just no links into it

[http://www.zedshaw.com/downloads/ruby\_odeum/ruby\_odeum-0.4.1.tar.bz2](http://www.zedshaw.com/downloads/ruby_odeum/ruby_odeum-0.4.1.tar.bz2)

the gem is here

[http://www.zedshaw.com/downloads/ruby\_odeum/ruby\_odeum-0.4.1.gem](http://www.zedshaw.com/downloads/ruby_odeum/ruby_odeum-0.4.1.gem)

Google REALLY is your friend.

John

---

<div class="post-metadata">

**Author:** ![sevensoft](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@sevensoft](https://www.ruby-forum.com/u/sevensoft)\
**Post date:** [May 24, 2009, 11:54am UTC](https://www.ruby-forum.com/t/ruby-odeum/168595/9 "2009-05-24T11:54:09Z")

</div>

Ken B. [2009-05-24 06:08]:

> On Sat, 23 May 2009 05:51:59 +0900, Jens W. wrote:
> 
> > you can find the project page on the internet archive  
> > Unfortunately they don’t mirror the actual gems.  
> > well, they do. if you go to the latest page [1] (Dec 31, 2007 ) and  
> > follow the “download a gem” link for the latest release (0.4.1) you  
> > get [2].

[1]  
[http://web.archive.org/web/20071231083816/http://www.zedshaw.com/projects/ruby\_odeum/](http://web.archive.org/web/20071231083816/http://www.zedshaw.com/projects/ruby_odeum/)  
[2]  
[http://web.archive.org/web/20070723205852/www.zedshaw.com/downloads/ruby\_odeum/ruby\_odeum-0.4.1.gem](http://web.archive.org/web/20070723205852/www.zedshaw.com/downloads/ruby_odeum/ruby_odeum-0.4.1.gem)

cheers  
jens
