On Thu, Dec 4, 2014 at 2:18 PM, Nick Wellnhofer <[email protected]> wrote:
> For the C bindings, it's important to include at least the declarations for > inherited methods because they're different in a subclass than in a > superclass. Suppose you want to set the boost on a TermQuery. If the > TermQuery documentation links to Query for SetBoost, you'll find: > > void > LUCY_Query_Set_Boost( > lucy_Query* self, > float boost > ); > > So a novice will probably end up writing > > Query_Set_Boost((Query*)term_query, boost); > > instead of > > TermQuery_Set_Boost(term_query, boost); Excellent point. Marvin Humphrey
