solrpy

Python Solr module
Download

solrpy Ranking & Summary

Advertisement

  • Rating:
  • License:
  • The Apache License 2.0
  • Price:
  • FREE
  • Publisher Name:
  • The solrpy Team
  • Publisher web site:
  • http://code.google.com/u/santagada/

solrpy Tags


solrpy Description

Python Solr module solrpy is a Python client for solr, an enterprise search server built on top of lucene. solrpy allows you to add documents to a solr instance, and then to perform queries and gather search results from solr using your favorite programming language--python.OverviewHere's the basic gist:import solr# create a connection to a solr servers = solr.SolrConnection('http://example.org:8083/solr')# add a document to the indexs.add(id=1, title='Lucene in Action', author=)s.commit()# do a searchresponse = s.query('title:lucene')for hit in response.results: print hitInstall:solrpy is available at the PyPi so you should be able to: easy_install solrpyOr you can check out the source code and: python setup.py install Requirements: · Python


solrpy Related Software