Oracle and Lucene Integration

2006-11-22 Thread Marcelo Ochoa
Hi all: I read on this a list many threads about Lucene indexing framework integration with Oracle. http://www.gossamer-threads.com/lists/lucene/java-user/41104?search_string=oracle%20jvm%20BLOB;#41104 So it push me to work in a Lucene and Oracle JVM (a Java virtual machine running inside the Or

Re: Oracle and Lucene Integration

2006-11-22 Thread mark harwood
reader.delete and writer.add calls? Cheers Mark - Original Message From: Marcelo Ochoa <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Wednesday, 22 November, 2006 1:09:48 PM Subject: Oracle and Lucene Integration Hi all: I read on this a list many threads about Lucene indexi

Re: Oracle and Lucene Integration

2006-11-22 Thread Marcelo Ochoa
Hi Mark: Very interesting. So how does this solution manage mapping Oracle primary keys to and from Lucene doc ids? I am storing the rowid value as a Document field, here a code sniped Document doc = new Document(); doc.add(new Field("rowid", rowid, Field.Store.Y

RE: Oracle and Lucene Integration

2006-11-22 Thread Vladimir Olenin
M To: java-user@lucene.apache.org Subject: Oracle and Lucene Integration Hi all: I read on this a list many threads about Lucene indexing framework integration with Oracle. http://www.gossamer-threads.com/lists/lucene/java-user/41104?search_stri ng=oracle%20jvm%20BLOB;#41104 So it push me to

Re: Oracle and Lucene Integration

2006-11-22 Thread Marcelo Ochoa
esday, November 22, 2006 8:10 AM To: java-user@lucene.apache.org Subject: Oracle and Lucene Integration Hi all: I read on this a list many threads about Lucene indexing framework integration with Oracle. http://www.gossamer-threads.com/lists/lucene/java-user/41104?search_stri ng=oracle%20jvm%2

Re: Oracle and Lucene Integration

2006-11-22 Thread Doug Cutting
Marcelo Ochoa wrote: Then I'll move the code outside the lucene-2.0 code tree to be packed as subdirectory of the contrib area, for example. Other alternative is to make an small zip file and send it to the list as attach as a preliminary (alpha-alpha version ;) This sounds like great potenti

Re: Oracle and Lucene Integration

2006-11-22 Thread Marcelo Ochoa
Hi Doug: I'll create a Jira account today and extract my code from the lucene-2.0.0 tree. Then I'll upload to Jira to get more feedback. May be the first optimization for the TODO list will be replace the insert/delete/update Data Cartridge entry points for a new code which put the modificatio

Re: Oracle and Lucene Integration

2006-11-22 Thread Otis Gospodnetic
44:58 AM Subject: Re: Oracle and Lucene Integration Hi Mark: > Very interesting. > > So how does this solution manage mapping Oracle primary keys to and from > Lucene doc ids? I am storing the rowid value as a Document field, here a code sniped Document doc = new Documen

Re: Oracle and Lucene Integration

2006-11-23 Thread Marcelo Ochoa
use Oracle anywhere at the moment. You probably don't want that rowid field tokenized, by the way. Otis - Original Message From: Marcelo Ochoa <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Wednesday, November 22, 2006 8:44:58 AM Subject: Re: Oracle and Lucene Integration

Re: Oracle and Lucene Integration

2006-11-23 Thread Erick Erickson
27;t use Oracle anywhere at the moment. > You probably don't want that rowid field tokenized, by the way. > > Otis > > - Original Message > From: Marcelo Ochoa <[EMAIL PROTECTED]> > To: java-user@lucene.apache.org > Sent: Wednesday, November 22, 2006 8:44:5

RE: Oracle and Lucene Integration

2006-11-23 Thread Vladimir Olenin
mber 23, 2006 7:23 AM To: java-user@lucene.apache.org Subject: Re: Oracle and Lucene Integration Otis: I am new to Lucene API and searching technologies :) doc.add(new Field("rowid", rowid, Field.Store.YES, Field.Index.UN_TOKENIZED));

Re: Oracle and Lucene Integration

2006-11-23 Thread Marcelo Ochoa
Hi Vladimir: I don't think you can define rowid on 'insert' operations (ie, when a new entry in the table is created) - it's a 'hidden'/automatic field Oracle maintains itself... The rowid is available on the Data Cartridge API, see this output from tests: Insert. newval: 'chau' rowid: 'AAAP1EA