I installed PyLucene 2.2.0-1 on Mac OS X 10.4.10 (from the provided
package), and when I execute the following code:

   writer = IndexWriter('index/places', StandardAnalyzer(), True)
   doc = Document()
   doc.add(Field("name", "foobar"))
   doc.setBoost(2)
   writer.addDocument(doc)
   writer.close()

the document in the index is not boosted (it has boost 1), as Luke indicates
and as searches with a larger number of documents with various boosts
indicate.

any idea how to fix it?

--
Wojciech Sobczuk
grono.net
605607170

"Now,
you will see me one more time if you do
good. You will see me two more times if
you do bad. Good night."
-- COWBOY
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to