[pylucene-dev] TopFieldDocs returned from indexSearcher are
info at altervisionmedia.com
Tue Sep 12 09:44:11 PDT 2006
AV> On Tue, 12 Sep 2006, Yura Smolsky wrote:
>> AV> In python, to create a float with negative infinity you say: float('-inf')
>> so I need to recreate this value?
AV> I'm not sure I understand your question.
seems like float('-inf') does not work on windows
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ValueError: invalid literal for float(): -inf
More information about the pylucene-dev