Skip to content

Category Archives: java

(py)?lucene 1.9

So on March 1st lucene v1.9 was released and the *next day* pylucene v1.9 is released. Nice work! I guess there are a bunch of methods that are deprecated in 1.9 which will dissappear entirely in v2.0. Now would be a good time to update usage…

jython niceties

While playing around with the Java JDOM library, I found myself resorting to jython to experiment with the API. It’s just so much easier this way for me: #!/usr/bin/env jython   from java.io import StringReader   from org.jdom import Document from org.jdom.input import SAXBuilder from org.jdom.xpath import XPath   xml = ‘<foo><bar>foobar</bar></foo>’   builder = [...]

quite a patch

Since starting to use lucene heavily at work about a year ago I’ve been watching the lucene list out of the corner of my eye for tips and tricks. Today I saw an email go by that referenced a recent patch that lazily creates SegmentMergeInfo.docMap objects. I guess the point isn’t so much what the [...]

pylucene

I’m going to be doing a lightning talk tonight at the Chicago Python Group about pylucene. pylucene essentially lets you use the popular Lucene indexing library (Java) in Python. No time limit has been set for the lightning talks (and mjd won’t be there with his gong) but I hope to quickly cover how to [...]

Communication

At my day job I’ve spent the better part of a month working on a nasty performance tuning problem in some software that I didn’t actually write. Without going into much detail we have a distributed application that provides cover images (a la Amazon) to the websites and other applications at various divisions with Follett. [...]