Am 08.09.2016, 15:56 Uhr, schrieb Andi Vajda <va...@apache.org>:

 On Thu, 8 Sep 2016, Dirk Rothe wrote:

I've made initReader() python-overridable (see patch). What do you think?

Not sure what to think. While your change looks fine, if Lucene decided to make this 'hard', it may be a sign that you're doing something wrong or going the wrong way about it.

I suggest you ask on the java-u...@lucene.apache.org list as you're probably not the first one to transition from 3.x to something more recent.

Please let pylucene-dev@ know what you find out...

OK.

Making Analyzer.initReader() python-overridable is also important for use-cases like this: http://stackoverflow.com/a/10290635
So the patch should be fine independently of my usage/hack.

--dirk

Reply via email to