Object

com.lucidworks.spark.util

SolrSupport

Related Doc: package util

Permalink

object SolrSupport extends LazyLogging

TODO: Use Solr schema API to index field names

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. def addField(doc: SolrInputDocument, fieldName: String, value: AnyRef, classType: Class[_], dynamicFieldSuffix: Option[String]): Unit

    Permalink
  6. final def asInstanceOf[T0]: T0

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

    Permalink
  8. 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.

  9. def buildShardList(zkHost: String, collection: String): List[SolrShard]

    Permalink
  10. def clone(): AnyRef

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

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

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

    Permalink
  14. def finalize(): Unit

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

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

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

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

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

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

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

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

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

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

    Permalink
  25. def hashCode(): Int

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

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

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

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

    Permalink
  30. final def isInstanceOf[T0]: Boolean

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

    Permalink
  32. lazy val logger: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped