com.gisgraphy.fulltext

## Interface IsolrClient

- All Known Implementing Classes:
    SolrClient

      public interface IsolrClient

  Wrap a SolrServer
  Author:
    David Masclet

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `bindToUrl(String solrUrl)`
    `org.apache.solr.client.solrj.SolrServer` | `getServer()` return a handler to the server
    `String` | `getURL()`
    `boolean` | `isServerAlive()`
    `void` | `setSolRLogLevel(Level level)` set the log level of Solr

- - ### Method Detail

    - #### bindToUrl

          void bindToUrl(String solrUrl)

      Parameters:
        `solrUrl` - the solr URL

    - #### getServer

          org.apache.solr.client.solrj.SolrServer getServer()

      return a handler to the server
      Returns:
        The server

    - #### getURL

          String getURL()

      Returns:
        The current url of the server

    - #### isServerAlive

          boolean isServerAlive()

      Returns:
        true if the fulltextsearchengine is alive, otherwise return false;

    - #### setSolRLogLevel

          void setSolRLogLevel(Level level)

      set the log level of Solr
      Parameters:
        `level` - the level to set

Copyright © 2015. All rights reserved.