Re: Fetches the hits very slow (when the date sorting) !

2008-04-09 Thread savageboy
n subsequent sorts since > various caches aren't filled until needed. So be sure you're measuring > response times after a few sorted queries have happened. > > Best > Erick > > On Wed, Apr 9, 2008 at 2:27 AM, savageboy <[EMAIL PROTECTED]> wrote: > >>

Fetches the hits very slow (when the date sorting) !

2008-04-08 Thread savageboy
Hello everyone, I have made a search project by use of Lucene2.0 But when I use date sorting, the server is running very slow for the result getting(about 3 sec but I dont sort the results the time of it is about 0.019 sec, there are 11 results to be hit). document.add(new Field(docFieldName,

Re: How to open the term vector storage?

2007-07-19 Thread savageboy
Sorry, I ve found it "Field.TermVector.YES", there is no more problem! Thanks a lot! savageboy wrote: > > Hello, everyone: > > doc.add(Field.Unstored("subject", subject, true)); > This syntax above is for Lucene1.4 > > I need the syntax which could d

How to open the term vector storage?

2007-07-19 Thread savageboy
Hello, everyone: doc.add(Field.Unstored("subject", subject, true)); This syntax above is for Lucene1.4 I need the syntax which could do the same work for Lucene2.0 Could you help me? Thank you very much! -- View this message in context: http://www.nabble.com/How-to-open-the-term-vector-storage