Example usage for org.apache.solr.client.solrj SolrClient getBinder

List of usage examples for org.apache.solr.client.solrj SolrClient getBinder

Introduction

In this page you can find the example usage for org.apache.solr.client.solrj SolrClient getBinder.

Prototype

public DocumentObjectBinder getBinder() 

Source Link

Document

Get the org.apache.solr.client.solrj.beans.DocumentObjectBinder for this client.

Usage

From source file:net.yacy.cora.federate.solr.instance.ServerShard.java

License:Open Source License

@Override
public DocumentObjectBinder getBinder() {
    DocumentObjectBinder db;//from  w  w w. jav a2  s. co m
    for (SolrClient s : this.shards) {
        db = s.getBinder();
        if (db != null)
            return db;
    }
    return null;
}