com.lucidworks.spark.util

SolrSupport

object SolrSupport extends Logging

TODO: Use Solr schema API to index field names

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SolrSupport
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

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

  7. final def asInstanceOf[T0]: T0

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

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

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

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

  11. def clone(): AnyRef

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

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

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

  15. def finalize(): Unit

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

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

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

  19. def getHttpSolrClient(shardUrl: String): HttpSolrClient

  20. def getNewSolrCloudClient(zkHost: String): CloudSolrClient

  21. def getSolrBaseUrl(zkHost: String): String

  22. def getSplits(fd: DataType, sF: String, sPS: Int, query: SolrQuery, shard: SolrShard): List[ShardSplit[_]]

  23. def hashCode(): Int

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

  25. def indexDocs(zkHost: String, collection: String, batchSize: Int, rdd: RDD[SolrInputDocument], commitWithin: Option[Int]): Unit

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

  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  29. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  30. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  31. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  32. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  33. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  34. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  35. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  36. def logName: String

    Attributes
    protected
    Definition Classes
    Logging
  37. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  38. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  39. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  40. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  44. def sendBatchToSolr(solrClient: SolrClient, collection: String, batch: Iterable[SolrInputDocument], commitWithin: Option[Int]): Unit

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

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

  47. def setupKerberosIfNeeded(): Unit

  48. def shouldRetry(exc: Exception): Boolean

  49. def splitShards(query: SolrQuery, solrShard: SolrShard, splitFieldName: String, splitsPerShard: Int): List[ShardSplit[_]]

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

    Definition Classes
    AnyRef
  51. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped