# Searching from a Lucene created Index

**URL:** <https://www.ruby-forum.com/t/searching-from-a-lucene-created-index/205407>\
**Category:** Ferret\
**Created:** [April 5, 2011, 11:40pm UTC](https://www.ruby-forum.com/t/searching-from-a-lucene-created-index/205407 "2011-04-05T23:40:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [April 5, 2011, 11:40pm UTC](https://www.ruby-forum.com/t/searching-from-a-lucene-created-index/205407/1 "2011-04-05T23:40:30Z")

</div>

Hi,

I’m trying to open a Index created by Lucene 1.9.1. I know the index has  
not been  
corrupted, I can browse it with Luke but when I try:  
irb\> Ferret::Index::IndexReader.new("./index’")

I get the following error message:  
Ferret::FileNotFoundError: File Not Found Error occured at \<except.c\>:93  
in xraise  
Error occured in index.c:840 - sis\_find\_segments\_file  
couldn’t find segments file

from (irb):7:in `initialize' from (irb):7:in`new’  
from (irb):7

the segments file is inside ./index but something get wrong.

Help is appreciated 🙂

Ferret::VERSION = 0.11.6

Thanks!

---

<div class="post-metadata">

**Author:** ![Jerrie\_Union](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f475e1/32.png) [@Jerrie\_Union](https://www.ruby-forum.com/u/Jerrie_Union)\
**Post date:** [April 6, 2011, 2:03am UTC](https://www.ruby-forum.com/t/searching-from-a-lucene-created-index/205407/2 "2011-04-06T02:03:49Z")

</div>

Hi,

as far as I remember compatibility with Lucene indexes has been dropped  
at some point in time (around Ferret versions 0.9.x or maybe even  
earlier).

Cheers,  
Jens

On 05.04.2011, at 23:34, Jerrie Union wrote:

> Thanks!
> 
> * * *
> 
> Ferret-talk mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [http://rubyforge.org/mailman/listinfo/ferret-talk](http://rubyforge.org/mailman/listinfo/ferret-talk)

–  
Jens Krmer  
Finkenlust 14, 06449 Aschersleben, Germany  
VAT Id DE251962952

> **[Jens Krämer: Redmine Consulting and Custom Development](https://jkraemer.net/)**
>
> Jens Krämer is a freelance software developer with more than 20 years of experience in web development and Linux systems administration. He is author of several Ruby libraries, contributor to the Redmine project and creator of several Redmine...
