Table Of Contents

Previous topic

2.1.6.1.2. objectlistiterator.OptionParser

Next topic

2.1.7.1.1. solrclient.parseString

This Page

2.1.7. solrclient

2.1.7.1. SolrClient

:Synopsis

Python SOLR Client Library

This client code is built from: http://svn.apache.org/viewvc/lucene/solr/tags/release-1.2.0/client/python/solr.py though has been modified in many respects.

Functions

parseString(string[, parser]) Parse a file into a DOM from a string.

Classes

SOLRArrayResponseIterator(client, q[, fq, ...]) Returns an interator that operates on a SOLR result set. The output for each
SOLRArrayTransformer([cols]) A transformer that returns a list of values for the sepcified columns.
SOLRRecordTransformer() A SOLR record transformer. Used to transform a SOLR search response document
SOLRSearchResponseIterator(client, q[, fq, ...]) Performs a search against a SOLR index and acts as an iterator to
SOLRSubsampleResponseIterator(client, q[, ...]) Returns a pseudo-random subsample of the result set.
SOLRValuesResponseIterator(client, field[, ...]) Iterates over a SOLR get values response. This returns a list of distinct
SolrConnection([host, solrBase, persistent, ...]) Provides a connection to the SOLR index.

Exceptions

SolrException(httpcode[, reason, body]) An exception thrown by solr connections