Object

com.lucidworks.spark.util

SolrQuerySupport

Related Doc: package util

Permalink

object SolrQuerySupport extends LazyLogging

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

Type Members

  1. case class ResponseHeader(status: Int, QTime: Int) extends Product with Serializable

    Permalink
  2. case class SolrCoreAdminResponse(responseHeader: ResponseHeader, initFailures: Map[_, _], status: Map[String, Map[String, _]]) 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 SOLR_DATA_TYPES: Map[String, DataType]

    Permalink
  5. def addDefaultSort(solrQuery: SolrQuery, uniqueKey: String): Unit

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def constructFieldInfoMap(fieldsInfoList: List[Any]): Map[String, Any]

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def fetchFieldSchemaInfoFromSolr(fl: String, cloudSolrClient: CloudSolrClient, collection: String): Map[String, Any]

    Permalink
  12. def fillPivotFieldValues(rawValue: String, row: Array[Any], schema: StructType, pivotPrefix: String): Unit

    Permalink
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getCollectionsForAlias(zkHost: String, alias: String): Option[List[String]]

    Permalink
  16. def getDataframeFromFacetQuery(solrQuery: SolrQuery, collection: String, zkhost: String, spark: SparkSession): DataFrame

    Permalink
  17. def getDataframeFromFacetQueryWithoutRetry(solrQuery: SolrQuery, collection: String, zkhost: String, spark: SparkSession): DataFrame

    Permalink
  18. def getFieldDefinitionsFromSchema(solrUrl: String, fieldNames: Seq[String], cloudSolrClient: CloudSolrClient, collection: String): Map[String, Any]

    Permalink

    Do multiple requests if the length of url exceeds limit size (2048).

    Do multiple requests if the length of url exceeds limit size (2048). We need this to retrieve schema of dynamic fields

  19. def getFieldTypeToClassMap(cloudSolrClient: CloudSolrClient, collection: String): Map[String, String]

    Permalink
  20. def getFieldTypes(fields: Set[String], solrUrl: String, cloudClient: CloudSolrClient, collection: String, skipDynamicExtensions: Boolean = true, skipFieldCheck: Boolean = false): Map[String, SolrFieldMeta]

    Permalink
  21. def getFieldsFromLuke(zkHost: String, collection: String, maxShardsToSample: Option[Int]): Set[String]

    Permalink
  22. def getFieldsFromLukePerShard(zkHost: String, httpSolrClient: HttpSolrClient): Set[String]

    Permalink
  23. def getMaxVersion(solrClient: SolrClient, collection: String, solrQuery: SolrQuery, fieldName: String): Option[Long]

    Permalink
  24. def getNumDocsFromSolr(collection: String, zkHost: String, query: Option[SolrQuery]): Long

    Permalink
  25. def getPivotFieldRange(schema: StructType, pivotPrefix: String): Array[Int]

    Permalink
  26. def getPivotSchema(fieldName: String, maxCols: Int, fieldPrefix: String, otherName: String, collection: String, schema: StructType, uniqueKey: String, zkHost: String): List[StructField]

    Permalink
  27. def getSolrCores(cloudSolrClient: CloudSolrClient): SolrCoreAdminResponse

    Permalink
  28. def getUniqueKey(zkHost: String, collection: String): String

    Permalink
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. lazy val logger: Logger

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

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def queryAndStreamResponsePost(params: SolrParams, callback: StreamingResponseCallback, cloudClient: SolrClient): QueryResponse

    Permalink
  36. def querySolr(solrClient: SolrClient, solrQuery: SolrQuery, startIndex: Int, cursorMark: String, callback: StreamingResponseCallback): Option[QueryResponse]

    Permalink
  37. def querySolr(solrClient: SolrClient, solrQuery: SolrQuery, startIndex: Int, cursorMark: String): Option[QueryResponse]

    Permalink
  38. def setQueryDefaultsForShards(solrQuery: SolrQuery, uniqueKey: String): Unit

    Permalink
  39. def setQueryDefaultsForTV(solrQuery: SolrQuery, field: String, uniqueKey: String): Unit

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

    Permalink
    Definition Classes
    AnyRef
  41. def toPivotSchema(baseSchema: StructType, pivotFields: Array[PivotField], collection: String, schema: StructType, uniqueKey: String, zkHost: String): StructType

    Permalink
  42. def toQuery(queryString: String): SolrQuery

    Permalink
  43. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  44. def validateExportHandlerQuery(solrServer: SolrClient, solrQuery: SolrQuery): Unit

    Permalink
  45. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. def withPivotFields(solrData: DataFrame, pivotFields: Array[PivotField], solrRDD: SolrRDD[_], escapeFieldNames: Boolean): DataFrame

    Permalink

    Allows you to pivot a categorical field into multiple columns that can be aggregated into counts, e.g.

    Allows you to pivot a categorical field into multiple columns that can be aggregated into counts, e.g. a field holding HTTP method (http_verb=GET) can be converted into: http_method_get=1, which is a common task when creating aggregations.

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped