lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack L <jli...@yahoo.ca>
Subject solr.py - set boosts?
Date Thu, 03 May 2007 23:39:23 GMT
I've been using solr.py to post and search. It works well.
Is it possible to specify doc boost and field boost with it?

Jack

Erik> There is a solr.py in the Solr clients directory:
Erik> http://svn.apache.org/repos/asf/lucene/solr/trunk/client/python/solr.py
Erik> It's got some utility methods for generating <field>'s.

Mike> It is not documented very well, but you can pass in a multi-map to the
Mike> solr.py client:

Mike> .add(field_one=['one', 'two', 'three'], field_two='value', ...)



Mime
View raw message