lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19751] New: - Addition to javadoc for IndexSearcher/Hits classes
Date Wed, 07 May 2003 23:35:47 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19751>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19751

Addition to javadoc for IndexSearcher/Hits classes

           Summary: Addition to javadoc for IndexSearcher/Hits classes
           Product: Lucene
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Other
        AssignedTo: lucene-dev@jakarta.apache.org
        ReportedBy: charles_crouch@hotmail.com


I've just discovered that IndexSearcher.close() should not be called while you 
are still using the Hits objects returned from IndexSearcher.search(). [BTW 
using 1.3-rc1]




This is intuitive from examining the source to Hits but not from any of the 
documentation I've seen, please forgive me if I missed it. It should be very 
easy to change the javadocs on either the Hits class or the IndexSearcher.
close() method to mention the above issue. This could save pther newbies such as 
myself a few hours of pain.


Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message