Object

com.lucidworks.spark.util

SolrSupport

Related Doc: package util

Permalink

object SolrSupport extends LazyLogging

Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SolrSupport
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class CloudClientParams(zkHost: String, zkClientTimeout: Int = 30000, zkConnectTimeout: Int = 60000, solrParams: Option[ModifiableSolrParams] = None) extends Product with Serializable

    Permalink
  2. case class ExportHandlerSplit(query: SolrQuery, replica: SolrReplica, numWorkers: Int, workerId: Int) extends Product with Serializable

    Permalink
  3. case class ShardInfo(shardUrl: String, zkHost: String) extends Product with Serializable

    Permalink
  4. case class WorkerShardSplit(query: SolrQuery, replica: SolrReplica) extends Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val AUTH_CONFIGURER_CLASS: String

    Permalink
  5. val SOLR_VERSION_PATTERN: Pattern

    Permalink
  6. def addField(doc: SolrInputDocument, fieldName: String, value: AnyRef, classType: Class[_], dynamicFieldSuffix: Option[String]): Unit

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def autoMapToSolrInputDoc(idFieldName: String, docId: String, obj: AnyRef, dynamicFieldOverrides: Map[String, String]): SolrInputDocument

    Permalink
  9. def autoMapToSolrInputDoc(docId: String, obj: AnyRef, dynamicFieldOverrides: Map[String, String]): SolrInputDocument

    Permalink

    Uses reflection to map bean public fields and getters to dynamic fields in Solr.

  10. def buildShardList(zkHost: String, collection: String, shardsTolerant: Boolean): List[SolrShard]

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def filterDocuments(filterContext: DocFilterContext, zkHost: String, collection: String, docs: DStream[SolrInputDocument]): DStream[SolrInputDocument]

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def getCachedCloudClient(zkHost: String): CloudSolrClient

    Permalink
  17. def getCachedCloudClient(cloudClientParams: CloudClientParams): CloudSolrClient

    Permalink
  18. def getCachedHttpSolrClient(shardUrl: String, zkHost: String): HttpSolrClient

    Permalink
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def getDefaultDynamicFieldMapping(clazz: Class[_]): Option[String]

    Permalink
  21. def getExportHandlerSplits(query: SolrQuery, solrShard: SolrShard, splitFieldName: String, splitsPerShard: Int): List[ExportHandlerSplit]

    Permalink
  22. def getFusionAuthClass(propertyName: String): Option[Class[_ <: FusionAuthHttpClient]]

    Permalink
  23. def getNewHttpSolrClient(shardUrl: String, zkHost: String): HttpSolrClient

    Permalink
  24. def getNewSolrCloudClient(cloudClientParams: CloudClientParams): CloudSolrClient

    Permalink
  25. def getShardSplits(query: SolrQuery, solrShard: SolrShard, splitFieldName: String, splitsPerShard: Int): List[WorkerShardSplit]

    Permalink
  26. def getSolrBaseUrl(zkHost: String): String

    Permalink
  27. def getSolrVersion(zkHost: String): String

    Permalink
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. def indexDStreamOfDocs(zkHost: String, collection: String, batchSize: Int, docs: DStream[SolrInputDocument]): Unit

    Permalink
  30. def indexDocs(zkHost: String, collection: String, batchSize: Int, rdd: RDD[SolrInputDocument], commitWithin: Option[Int], accumulator: Option[SparkSolrAccumulator] = None): Unit

    Permalink
  31. def indexDocs(zkHost: String, collection: String, batchSize: Int, rdd: RDD[SolrInputDocument]): Unit

    Permalink
  32. def isBasicAuthNeeded(zkHost: String): Boolean

    Permalink
  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. def isKerberosNeeded(zkHost: String): Boolean

    Permalink
  35. def isSolrVersionAtleast(solrVersion: String, major: Int, minor: Int, trivial: Int): Boolean

    Permalink
  36. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  37. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. def readKerberosFile(path: String): Unit

    Permalink
  41. def sendBatchToSolr(solrClient: SolrClient, collection: String, batch: Iterable[SolrInputDocument], commitWithin: Option[Int]): Unit

    Permalink
  42. def sendBatchToSolr(solrClient: SolrClient, collection: String, batch: Iterable[SolrInputDocument]): Unit

    Permalink
  43. def sendBatchToSolrWithRetry(zkHost: String, solrClient: SolrClient, collection: String, batch: Iterable[SolrInputDocument], commitWithin: Option[Int]): Unit

    Permalink
  44. def sendDStreamOfDocsToFusion(fusionUrl: String, fusionCredentials: String, docs: DStream[_], batchSize: Int): Unit

    Permalink
  45. def shouldRetry(exc: Exception): Boolean

    Permalink
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped