Re: Using Luke on a Lucene Index in a Database

2009-06-09 Thread ChristophD
Upon a request on the experiences on this issue, I am posting the most important functions of the program. Every DB record maps directly to one file. The function that I did not include is "getDataSource()" which acquires a jdbc datasource to your database. cheers, Christoph private void

Re: Using Luke on a Lucene Index in a Database

2009-05-20 Thread ChristophD
Ok, so let me clear it up. Lucene offers different types of Directories (org.apache.lucene.store.Directory) into which it stores the index data. Most people probably use the FSDirectory implementation which writes the index data as files into the filesystem. However, we use the DbDirectory implem

Re: Using Luke on a Lucene Index in a Database

2009-05-19 Thread Erick Erickson
Well, you haven't really provided much in the way of details.For instance, what does it mean that your Lucene index is stored in a database"? Did you store it as a BLOB? Your problem statement is very hard to understand, please explain in more detail. Pretend you don't know a thing about your app (

Re: Using Luke on a Lucene Index in a Database

2009-05-19 Thread ChristophD
This isn't really addressing my problem. I already have a running search system and just want to analyze it. cheers, Christoph amin1977 wrote: > > Are you using an object relational mapping tool like Hibernate? if you > are > you could use hibernate search to index your persistent entities a

Re: Using Luke on a Lucene Index in a Database

2009-05-19 Thread Amin Mohammed-Coleman
Are you using an object relational mapping tool like Hibernate? if you are you could use hibernate search to index your persistent entities and then use luke to inspect the indexes. There may other ways of doing it I guess. Just a thought. Cheers Amin On Tue, May 19, 2009 at 9:23 AM, Christo