|
From: Ben v. K. <s40...@st...> - 2003-09-18 23:17:04
|
Thanks Eduardo, That was a bug. I have fixed it now, I will put it up in the next release. The reason was that Clucene caches the first 100 documents, then when the next 100 is required, it is re-queried. But the query was being destroyed after the initial query, so the second query would fail. If you want the fix sooner, please email me. Thanks, Ben -----Original Message----- From: clu...@li... [mailto:clu...@li...] On Behalf Of Eduardo Mauro Sent: Tuesday, 16 September 2003 9:51 PM To: clu...@li... Subject: [CLucene-dev] DLL Test I compiled DLL Test using Visual Studio 2003 and got strange results. Take a look at query results: 94. note: This is a stored note., date: Tue Sep 16 08:17:23 2003 95. note: This is a stored note., date: Tue Sep 16 08:17:23 2003 96. note: This is a stored note., date: Tue Sep 16 08:17:23 2003 97. note: This is a stored note., date: Tue Sep 16 08:17:23 2003 98. note: This is a stored note., date: Tue Sep 16 08:17:23 2003 99. note: This is a stored note., date: Tue Sep 16 08:17:23 2003 100. note: This is a stored note., date: Tue Sep 16 08:17:23 2003 101. note: (null), date: Wed Dec 31 22:00:00 1969 102. note: (null), date: Wed Dec 31 22:00:00 1969 103. note: (null), date: Wed Dec 31 22:00:00 1969 104. note: (null), date: Wed Dec 31 22:00:00 1969 105. note: (null), date: Wed Dec 31 22:00:00 1969 106. note: (null), date: Wed Dec 31 22:00:00 1969 107. note: (null), date: Wed Dec 31 22:00:00 1969 108. note: (null), date: Wed Dec 31 22:00:00 1969 109. note: (null), date: Wed Dec 31 22:00:00 1969 110. note: (null), date: Wed Dec 31 22:00:00 1969 I tried several times all with the same results. Examining the FTD file seem it is ok. Also if I run the test several times in a sequences, without erasing the directory, I always obtain the correct number of hits but only the first 100 are correct. Best regards, Eduardo Mauro ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ CLucene-developers mailing list CLu...@li... https://lists.sourceforge.net/lists/listinfo/clucene-developers |