On Fri, 5 May 2017, Peter Brown wrote:

The 'score' method you're trying to get wrapped is marked 'protected' in
the source code you showed above.

By default, JCC only wraps public methods and fields.

You can either make it public or force a wrapper for it by explicitely
listing it on the JCC command line.

At line 326 in the pylucene Makefile you can see two such non public things
being force-wrapped already via listing:
            org.apache.lucene.index.IndexWriter:getReader \
            org.apache.lucene.analysis.Tokenizer:input \
Just add your score method to the list there...

Andi..

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB