# Oracle text search

**URL:** <https://www.ruby-forum.com/t/oracle-text-search/139687>\
**Category:** Rails\
**Created:** [June 6, 2008, 2:23am UTC](https://www.ruby-forum.com/t/oracle-text-search/139687 "2008-06-06T02:23:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [June 6, 2008, 2:23am UTC](https://www.ruby-forum.com/t/oracle-text-search/139687/1 "2008-06-06T02:23:15Z")

</div>

Hi,

I’ve been asked to move an application to Oracle.

It uses Ferret drb for text search [& its been really stable thank you  
very much].

Any one have any thoughts on how to do text searching in Oracle?

---

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [June 6, 2008, 4:01am UTC](https://www.ruby-forum.com/t/oracle-text-search/139687/2 "2008-06-06T04:01:36Z")

</div>

Matt S.1 wrote:

> I’ve been asked to move an application to Oracle.
> 
> It uses Ferret drb for text search [& its been really stable thank you  
> very much].
> 
> Any one have any thoughts on how to do text searching in Oracle?

Write a cron job that reads Oracle and writes Ferret every day, and  
trigger this  
cron in some kind of “update” mode when specific new data come in.

---

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [June 6, 2008, 4:38am UTC](https://www.ruby-forum.com/t/oracle-text-search/139687/3 "2008-06-06T04:38:08Z")

</div>

Phlip wrote:

> Matt S.1 wrote:
> 
> > I’ve been asked to move an application to Oracle.
> > 
> > It uses Ferret drb for text search [& its been really stable thank you  
> > very much].
> > 
> > Any one have any thoughts on how to do text searching in Oracle?
> 
> Write a cron job that reads Oracle and writes Ferret every day, and  
> trigger this  
> cron in some kind of “update” mode when specific new data come in.

Thanks Phlip,

Yep, that would work.

I guess I was hoping that oracle had its own elegant text search  
features that could be accessed by rails, possible via stored  
procedures.

- matt.

---

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [June 6, 2008, 5:08am UTC](https://www.ruby-forum.com/t/oracle-text-search/139687/4 "2008-06-06T05:08:18Z")

</div>

> > Write a cron job that reads Oracle and writes Ferret every day, and  
> > trigger this  
> > cron in some kind of “update” mode when specific new data come in.

> I guess I was hoping that oracle had its own elegant text search  
> features that could be accessed by rails, possible via stored  
> procedures.

If you do it my way, you can deploy the feature first. Then you would  
have lots  
of time to research the awesome toy that is Oracle, without making your  
clients  
wait for their feature. Software development should always be  
incremental - even  
if you must temporarily degrade performance just to avoid rewriting too  
much.

Your network admins might ask about your new CPU load, though… (-:

---

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [June 7, 2008, 12:35am UTC](https://www.ruby-forum.com/t/oracle-text-search/139687/5 "2008-06-07T00:35:56Z")

</div>

> I’ve been asked to move an application to Oracle.
> 
> It uses Ferret drb for text search [& its been really stable thank you  
> very much].
> 
> Any one have any thoughts on how to do text searching in Oracle?

You might want to look into Oracle Text.  
[http://www.oracle.com/technology/products/text/index.html](http://www.oracle.com/technology/products/text/index.html)  
[http://www.oracle.com/technology/pub/articles/asplund-textsearch.html](http://www.oracle.com/technology/pub/articles/asplund-textsearch.html)
