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

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 getFieldDefinitionsFromSchema(solrUrl: String, fieldNames: Seq[String], cloudSolrClient: CloudSolrClient, collection: String, fieldDefs: Map[String, Any] = Map.empty): 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

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

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

    Permalink
  18. def getFieldsFromLuke(zkHost: String, collection: String): Set[String]

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

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

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

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

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

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

    Permalink
  25. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  27. lazy val logger: Logger

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  39. def toString(): String

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

    Permalink
  41. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. 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