How to extract Document object after the search?

2009-02-02 Thread mittals
As per Lucene documentation - "For good search performance, implementations of this method should not call Searcher.doc(int) or IndexReader.document(int) on every document number encountered. Doing so can slow searches by an order of magnitude or more." My question is - what's the other way to g

RE: How to extract Document object after the search?

2009-02-02 Thread mittals
Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > >> -Original Message- >> From: mittals [mailto:sourabh-931.mit...@morganstanley.com] >> Sent: Monday, February 02, 2009 12:54 PM >> To: java-user@lucene.apache.org >> Subject: How to extract

Re: Performance issue

2009-02-03 Thread mittals
Hi, All of the fields are text. We have 3 @IndexedEmbedded object with in a object. users can search for any string, few of the cases are morgan, john, orcl, healthcare, pa ma, ma fin. here is e.g. of our one query: (+(trading.tn:pa^150.0 lastName:pa*^45.0 firstName:pa*^30.0 roleDesc:pa^3.0 rol