com.lucidworks.spark.util

SolrQuerySupport

object SolrQuerySupport extends Logging

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SolrQuerySupport
  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. val SOLR_DATA_TYPES: Map[String, DataType]

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

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def fetchFieldSchemaInfoFromSolr(fieldsUrl: String): Map[String, Any]

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

  15. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  17. def getFieldDefinitionsFromSchema(solrUrl: String, fieldNames: Seq[String], fieldDefs: Map[String, Any] = Map.empty): Map[String, Any]

    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

    solrUrl
    fieldNames
    fieldDefs
    returns

  18. def getFieldTypeToClassMap(solrUrl: String): Map[String, String]

  19. def getFieldTypes(fields: Set[String], solrUrl: String): Map[String, SolrFieldMeta]

  20. def getFieldTypes(fields: Set[String], solrBaseUrl: String, collection: String): Map[String, SolrFieldMeta]

  21. def getFieldsFromLuke(solrUrl: String): Set[String]

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

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

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

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

  26. def getUniqueKey(zkHost: String, collection: String): String

  27. def hashCode(): Int

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

    Definition Classes
    Any
  29. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  30. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  37. def logName: String

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

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

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

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

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

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

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

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

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

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

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

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

  50. def splitShard(sc: SparkContext, query: SolrQuery, shards: List[String], splitFieldName: String, splitsPerShard: Int, collection: String): RDD[ShardSplit[_]]

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

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

  53. def toQuery(queryString: String): SolrQuery

  54. def toString(): String

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

  56. final def wait(): Unit

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

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

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

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

    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 Logging

Inherited from AnyRef

Inherited from Any

Ungrouped