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
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
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
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
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
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
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
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