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 ExportHandlerSplit(query: SolrQuery, replica: SolrReplica, numWorkers: Int, workerId: Int) extends Product with Serializable

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

    Permalink
  3. 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 getCachedHttpSolrClient(shardUrl: String, zkHost: String): HttpSolrClient

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

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

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

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

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

    Permalink
  23. def getNewSolrCloudClient(zkHost: String): CloudSolrClient

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

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

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

    Permalink
  27. def hashCode(): Int

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

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

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

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

    Permalink
  32. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
  35. lazy val logger: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped