trait QueryBuilderBase[Repr <: QueryBuilderBase[Repr]] extends AnyRef
- Alphabetic
- By Inheritance
- QueryBuilderBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
createCopy: Repr
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def collapseBy(field: String, expandCount: Int): Repr
- def collection(collection: String): Repr
-
val
collection: String
- Attributes
- protected
-
def
docToMap(doc: SolrDocument): Map[String, AnyRef]
- Attributes
- protected
- def enableGroupCount(): Repr
- def enableGroupFacet(): Repr
-
def
enableSpatial(): Repr
Added in response to #63 Missing spatial parameters while building solr query Enable Spatial is true.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
facetFields(fields: String*): Repr
Sets facet field names.
Sets facet field names.
- fields
field names
-
def
facetPivotFields(pivotField: String*): Repr
Sets facet pivot field names.
Sets facet pivot field names.
- pivotField
field names
- def facetQuery(fq: String): Repr
-
def
fields(fields: String*): Repr
Sets field names to retrieve by this query.
Sets field names to retrieve by this query.
- fields
field names
- def filteredQuery(fq: String*): Repr
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
groupBy(fields: String*): Repr
Sets grouping field names.
Sets grouping field names.
- fields
field names
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
highlight(field: String, size: Int = 100, prefix: String = "", postfix: String = "", snippets: Int = 1): Repr
Configures to retrieve a highlighted snippet.
Configures to retrieve a highlighted snippet. Highlighted snippet is set as the "highlight" property of the map or the case class.
- field
the highlight field
- size
the highlight fragment size
- prefix
the prefix of highlighted ranges
- postfix
the postfix of highlighted ranges
-
val
highlightField: String
- Attributes
- protected
-
def
id(id: String): Repr
Sets the field name of the unique key.
Sets the field name of the unique key.
- id
the field name of the unique key (default is "id").
-
val
id: String
- Attributes
- protected
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def limitGrouping(limit: Int): Repr
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
recommend(fields: String*): Repr
Configure to recommendation search.
Configure to recommendation search. If you call this method, the query returns documents similar to the query result instead of them.
- fields
field names of recommendation target
-
val
recommendFlag: Boolean
- Attributes
- protected
-
def
responseToMap(response: QueryResponse): MapQueryResult
- Attributes
- protected
- def responseToObject[T](response: QueryResponse)(implicit m: Manifest[T]): CaseClassQueryResult[T]
-
def
rows(rows: Int): Repr
Specifies the maximum number of results to return.
Specifies the maximum number of results to return.
- rows
number of results
-
def
setRequestHandler(handler: String): Repr
Sets the RequestHandler for the Solr query
Sets the RequestHandler for the Solr query
- handler
the name of the RequestHandler as defined in solrconfig.xml (default is "/select").
-
val
solrQuery: SolrQuery
- Attributes
- protected
-
def
sortBy(field: String, order: Order): Repr
Sets the sorting field name and its order.
Sets the sorting field name and its order.
- field
the sorting field name
- order
the sorting order
-
def
spatialPt(lat: Double, lng: Double): Repr
Added in response to #63 Missing spatial parameters while building solr query * Sets Spatial field called pt.
-
def
spatialSfield(value: String): Repr
Added in response to #63 Missing spatial parameters while building solr query Sets Spatial field named SField.
Added in response to #63 Missing spatial parameters while building solr query Sets Spatial field named SField.
- value
: value for Sfield.
-
def
start(start: Int): Repr
Sets the offset to start at in the result set.
Sets the offset to start at in the result set.
- start
zero-based offset
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toFacetPivotList(pivotFields: List[PivotField]): List[FacetPivot]
Convert java list of Pivot fields to scala list of facetPivots
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()