Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
PyLucene, mail # dev - Re: [VOTE] Release PyLucene 3.1.0


+
Bill Janssen 2011-04-06, 16:39
+
Andi Vajda 2011-04-06, 19:39
+
Bill Janssen 2011-04-06, 21:05
+
Andi Vajda 2011-04-06, 21:16
+
Bill Janssen 2011-04-06, 22:32
+
Andi Vajda 2011-04-06, 22:38
+
Michael McCandless 2011-04-06, 22:40
+
Andi Vajda 2011-04-06, 22:50
+
Bill Janssen 2011-04-07, 01:42
Copy link to this message
-
Re: [VOTE] Release PyLucene 3.1.0
Andi Vajda 2011-04-07, 02:21

On Wed, 6 Apr 2011, Bill Janssen wrote:

> Andi Vajda <[EMAIL PROTECTED]> wrote:
>
>>
>> On Wed, 6 Apr 2011, Bill Janssen wrote:
>>
>>> Andi Vajda <[EMAIL PROTECTED]> wrote:
>>>
>>>> Unless I'm missing something here, you've got two options before you
>>>> break your users:
>>>>   1. fix your code before you ship it to them
>>>
>>> Unfortunately, the code is out there for building, and the instructions,
>>> also already out there, say, "PyLucene 2.4 to 3.X".  I should be more
>>> careful :-).
>>
>> Given that APIs changed quite a bit between 2.x and 3.0 and that 2.x
>> deprecated APIs are removed from 3.1+ (unless I'm confused about
>> Lucene's deprecation policy (*)), your statement is a bit optimistic.
>
> My Python code looks for the differences and handles it.  Of course, it
> can't do that for the future :-).
>
> Is there some ABI version # that I should be checking, instead?

There are two versions available from the lucene module:

    >>> import lucene
    >>> [(v, lucene.__dict__[v]) for v in dir(lucene) if 'VERSION' in v]
    [('JCC_VERSION', '2.8'), ('VERSION', '3.1.0')]

There is also the lucene.Version object.

Andi..
+
Bill Janssen 2011-04-07, 03:04
+
Andi Vajda 2011-04-07, 04:58
+
Bill Janssen 2011-04-06, 21:16