RE: fastest way to get raw hit count

2006-05-30 Thread Amaresh Kumar Yadav
Hi all, when i search for a particular text by lucene search engine. I get correct number of document for that word but its document name and summary is return as null. display message is : Document Summary null null null null null null null null if someone has any idea about this

return document name as null Please help

2006-05-30 Thread Amaresh Kumar Yadav
Hi all, when i search for a particular text by lucene search engine. I get correct number of document for that word but its document name and summary is return as null. display message is : Document Summary null null null null null null null null if someone has any idea about this

RE: return document name as null Please help

2006-05-30 Thread Amaresh Kumar Yadav
rom: Amaresh Kumar Yadav [mailto:[EMAIL PROTECTED] >when i search for a particular text by lucene search > engine. I get correct number of document for that word but > its document name and summary is return as null. Are your document's name and summary Stored (Store.YES

RE: return document name as null Please help

2006-05-30 Thread Amaresh Kumar Yadav
as null Please help Hi, > From: Amaresh Kumar Yadav [mailto:[EMAIL PROTECTED] > > do we need some setting in any jsp or other file for document ??? You need to specify Stored (Store.YES) attribute for a field during indexing. Pas

RE: return document name as null Please help

2006-05-30 Thread Amaresh Kumar Yadav
Thanks Pasha, I got success. Regards.. Amaresh -Original Message- From: Pasha Bizhan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 6:47 PM To: java-user@lucene.apache.org Subject: RE: return document name as null Please help Hi, > From: Amaresh Kumar Yadav [mailto:[EM

Can we search data stored in oracle database ??

2006-05-30 Thread Amaresh Kumar Yadav
Hi All, Can we search data which is stored in oracle database, by lucene search engine anybody has idea ?? Infact i have some data which is stored in a table on oracle database, presently i search the data through query..Now i want to optimize it by lucene search engine.

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

RE: Re : good link to start working on Lucene

2006-05-31 Thread Amaresh Kumar Yadav
http://lucene.apache.org/java/docs/gettingstarted.html Regards, Amaresh -Original Message- From: saikrishna [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 4:52 PM To: java-user@lucene.apache.org Subject: Re : good link to start working on Lucene Hai , I am completly ne

RE: how to craete index with particular ID

2006-05-31 Thread Amaresh Kumar Yadav
ield("PATH", [here value of docpath field], Field.Store.NO, Field.Index.TOKENIZED)); indexWriter.addDocument(doc); After searcing you have Hits, get doc from Hits and get value of "ID" field of that doc - now you may get row from table by ID and receive any data. 2006/5/31, Amares

RE: how to craete index with particular ID

2006-05-31 Thread Amaresh Kumar Yadav
arser: 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 ID i want to search for text into "title" field

Hi Alexey : How to search "TITLE" field only

2006-06-01 Thread Amaresh Kumar Yadav
OKENIZED)); doc.add(new Field("PATH", [here value of docpath field], Field.Store.NO, Field.Index.TOKENIZED)); indexWriter.addDocument(doc); After searcing you have Hits, get doc from Hits and get value of "ID" field of that doc - now you may get row from table by ID and receive any

searching in more than fields on document

2006-06-06 Thread Amaresh Kumar Yadav
Hi All, Will u please give me some clue for searching on more than one field of document. My document has six field and i want to search on three fields. Presently I am able to search on only TITLE field.. query = QueryParser.parse(queryString, "TITLE", analyzer); Regards.. Amares