Return-Path: X-Original-To: apmail-lucy-dev-archive@www.apache.org Delivered-To: apmail-lucy-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F0BF8100F6 for ; Wed, 9 Sep 2015 16:57:47 +0000 (UTC) Received: (qmail 99652 invoked by uid 500); 9 Sep 2015 16:57:47 -0000 Delivered-To: apmail-lucy-dev-archive@lucy.apache.org Received: (qmail 99606 invoked by uid 500); 9 Sep 2015 16:57:47 -0000 Mailing-List: contact dev-help@lucy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucy.apache.org Delivered-To: mailing list dev@lucy.apache.org Received: (qmail 99595 invoked by uid 99); 9 Sep 2015 16:57:47 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2015 16:57:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2C573180427 for ; Wed, 9 Sep 2015 16:57:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.995 X-Spam-Level: X-Spam-Status: No, score=0.995 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.006, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id UAWLztBPpOPH for ; Wed, 9 Sep 2015 16:57:38 +0000 (UTC) Received: from mail.aevum.de (hosting02.aevum.de [83.169.45.108]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id CDF9A20383 for ; Wed, 9 Sep 2015 16:57:37 +0000 (UTC) Received: from [192.168.178.25] (p549046E7.dip0.t-ipconnect.de [84.144.70.231]) by mail.aevum.de (Postfix) with ESMTPSA id 4B6594E1CC4 for ; Wed, 9 Sep 2015 18:57:30 +0200 (CEST) To: dev@lucy.apache.org References: From: Nick Wellnhofer Message-ID: <55F064FC.5070309@aevum.de> Date: Wed, 9 Sep 2015 18:57:32 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [lucy-dev] [GitHub] lucy pull request: Generate Perl POD from public methods On 09/09/2015 03:30, Marvin Humphrey wrote: > I reviewed a diff of the generated POD before and after merging this branch > (and the corresponding Clownfish branch). A summary of the changes is below my > sig. > > Unsurprisingly for a change of this magnitude, there were a few glitches. > These are the ones I think we should to attend to: > > * Restore Doc#add_fields. > * IndexReader#offsets became IndexReader#_offsets and should be restored. These two are glitches. > * Restore documentation for several methods IndexSearcher inherits > from Searcher. Same with PolySearcher (though it's a less important > class). > * The PostingList methods Next, Advance, and Get_Doc_ID should become > public. > * Restore BitCollector#collect > * Restore ANDQuery#add_child and ORQuery#add_child. These are all methods that *are* documented in a parent class. We should automatically document them in a subclass if they're the first implementation of an abstract method. This leaves: - IndexSearcher#hits, IndexSearcher#get_schema, documented in Lucy::Search::Searcher https://metacpan.org/pod/Lucy::Search::Searcher - PostingList#advance, documented in Lucy::Search:Matcher https://metacpan.org/pod/Lucy::Search::Matcher - ANDQuery#add_child, ORQuery#add_child, documented in Lucy::Search::PolyQuery (not in 0.4 but in master) We could document these methods a second time in a subclass but it would be somewhat inconsistent. Nick