com.github.takezoe.solr.scala
package com.github.takezoe.solr.scala
Type members
Classlikes
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 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
class QueryBuilder(server: SolrClient, query: String)(implicit parser: ExpressionParser) extends QueryBuilderBase[QueryBuilder]