Show
Ignore:
Timestamp:
01/09/11 19:37:51 (2 years ago)
Author:
mbutscher
Message:

branches/stable-2.0:
* Bug fixed: Windows: "Invalid handle" error on

command line bridge insertion plugins

branches/mbutscher/work:
* Write last writing program version into wiki db
* Several bug fixes with whoosh (index search)
* Index search: Highlight found terms and jump to

one found term on double-click

* Bug fixed: Windows: "Invalid handle" error on

command line bridge insertion plugins

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/mbutscher/work/lib/whoosh/formats.py

    r231 r234  
    187187        for t in unstopped(self.analyzer(value, boosts=True, **kwargs)): 
    188188            freqs[t.text] += 1 
    189             weights[t.text] += int(t.boost) 
     189            weights[t.text] += t.boost 
    190190         
    191191        encode = self.encode