Hi All again, while bug-hunting in my project I found a very strange behaviour regarding Hits::doc(int). If the corresponding Query is already destroyed, you'll get the first 100 results without any problems - just right till you get a SEGFAULT for the 101st result. Everything is fine if the Query-Object is kept. But this is not clearly stated in the docs. This should change! I'd propose taking a Copy or use of std::auto_ptr in this case, because I assume the Query is not only to be kept, but also to be unchanged. So ownership should go over to the Hits-Object. Maybe both methods should be offered. Internally both could initialize the same raw pointer.
Henning ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ CLucene-developers mailing list CLucene-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clucene-developers