com.github.takezoe.solr.scala

Type members

Classlikes

class BatchRegister(server: SolrClient, collection: Option[String], docs: Map[String, Any]*)
case class CaseClassQueryResult[T](numFound: Long, documents: List[T], facetFields: Map[String, Map[String, Long]])

The result of query which is executed by QueryBuilder#getResultAs().

The result of query which is executed by QueryBuilder#getResultAs().

Value Params
documents

the list of documents which are matched to the query

facetFields

the facet count of fields which were specified by QueryBuilder#facetFields()

numFound

the total number of hits

case class FacetPivot(field: String, count: Int, pivot: List[FacetPivot], value: Object)
case class Group(value: String, numFound: Long, documents: List[DocumentMap])
case class MapQueryResult(numFound: Long, numGroupsFound: Long, documents: List[DocumentMap], groups: Map[String, List[Group]], facetFields: Map[String, Map[String, Long]], facetPivots: Map[String, List[FacetPivot]], qTime: Int)

The result of query which is executed by QueryBuilder#getResultAsMap().

The result of query which is executed by QueryBuilder#getResultAsMap().

Value Params
documents

the list of documents which are matched to the query

facetFields

the facet count of fields which were specified by QueryBuilder#facetFields()

facetPivots

the facet pivot fields which were specified by QueryBuilder##facetPivots()

groups

the result of the grouped query which were specified by QueryBuilder#groupBy()

numFound

the total number of hits

sealed trait Order
Companion
object
object Order
Companion
class
class QueryBuilder(server: SolrClient, query: String)(implicit parser: ExpressionParser) extends QueryBuilderBase[QueryBuilder]
trait QueryBuilderBase[Repr <: QueryBuilderBase[Repr]]
class SolrClient(url: String)(implicit factory: String => SolrClient, parser: ExpressionParser)

This is the simple Apache Solr client for Scala.

This is the simple Apache Solr client for Scala.

class UnspecifiedIdError extends Exception

Exception that denotes that an ID was required, but not specified.

Exception that denotes that an ID was required, but not specified.

Types

type DocumentMap = Map[String, Any]