Re: how to craete index with particular ID

2006-06-01 Thread Alexey Sorokin
kin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:21 PM To: java-user@lucene.apache.org Subject: Re: how to craete index with particular ID Actually you don't need to create text file. Get data from db and create Document that put in index. At least you must store ID of row in Document

RE: how to craete index with particular ID

2006-05-31 Thread Chris Hostetter
ailto:[EMAIL PROTECTED] : Sent: Thursday, June 01, 2006 10:04 AM : To: java-user@lucene.apache.org : Subject: Re: how to craete index with particular ID : : : Here's an example that will work with the query parser: : : title:FAQ : : Otis : : - Original Message : From: Amaresh Kumar Yad

RE: how to craete index with particular ID

2006-05-31 Thread Amaresh Kumar Yadav
where ?? Please send me url.. amaresh -Original Message- From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 10:04 AM To: java-user@lucene.apache.org Subject: Re: how to craete index with particular ID Here's an example that will work with the query p

Re: how to craete index with particular ID

2006-05-31 Thread Otis Gospodnetic
Here's an example that will work with the query parser: title:FAQ Otis - Original Message From: Amaresh Kumar Yadav <[EMAIL PROTECTED]> To: "java-user@lucene.apache.org" Sent: Wednesday, May 31, 2006 11:56:19 PM Subject: RE: how to craete index with particular

RE: how to craete index with particular ID

2006-05-31 Thread Amaresh Kumar Yadav
i want to search for text into "title" field only. how shuold i specify it? Regards.. Amaresh -Original Message- From: Alexey Sorokin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:21 PM To: java-user@lucene.apache.org Subject: Re: how to craete index with par

Re: how to craete index with particular ID

2006-05-31 Thread Alexey Sorokin
Actually you don't need to create text file. Get data from db and create Document that put in index. At least you must store ID of row in Document. Or you may store doctitle and docpath too. For each row you shoul do something like this: import org.apache.lucene.document.Document; import org.apa

RE: how to craete index with particular ID

2006-05-31 Thread Pasha Bizhan
Hi, > From: Amaresh Kumar Yadav [mailto:[EMAIL PROTECTED] > > First create a text file which contains data(that is retrived > by oracle query) which is stored in table. You have not to create text file for indexing. You can index your data immediately: open IndexWriter execute

how to craete index with particular ID

2006-05-31 Thread Amaresh Kumar Yadav
Hi All, Infact i want to search data which is stored in a table on oracle... my table contains two fields "doctitle" and "docpath", first field(doctitle) represents location of some document and second field(docpath)represents documents title. I want to apply lucene search on doctitle. What i