Packages

t

com.github.takezoe.solr.scala

QueryBuilderBase

trait QueryBuilderBase[Repr <: QueryBuilderBase[Repr]] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryBuilderBase
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def createCopy: Repr
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def collapseBy(field: String, expandCount: Int): Repr
  7. def collection(collection: String): Repr
  8. val collection: String
    Attributes
    protected
  9. def docToMap(doc: SolrDocument): Map[String, AnyRef]
    Attributes
    protected
  10. def enableGroupCount(): Repr
  11. def enableGroupFacet(): Repr
  12. def enableSpatial(): Repr

    Added in response to #63 Missing spatial parameters while building solr query Enable Spatial is true.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def facetFields(fields: String*): Repr

    Sets facet field names.

    Sets facet field names.

    fields

    field names

  16. def facetPivotFields(pivotField: String*): Repr

    Sets facet pivot field names.

    Sets facet pivot field names.

    pivotField

    field names

  17. def facetQuery(fq: String): Repr
  18. def fields(fields: String*): Repr

    Sets field names to retrieve by this query.

    Sets field names to retrieve by this query.

    fields

    field names

  19. def filteredQuery(fq: String*): Repr
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def groupBy(fields: String*): Repr

    Sets grouping field names.

    Sets grouping field names.

    fields

    field names

  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. 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

  25. val highlightField: String
    Attributes
    protected
  26. 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").

  27. val id: String
    Attributes
    protected
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def limitGrouping(limit: Int): Repr
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. 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

  34. val recommendFlag: Boolean
    Attributes
    protected
  35. def responseToMap(response: QueryResponse): MapQueryResult
    Attributes
    protected
  36. def responseToObject[T](response: QueryResponse)(implicit m: Manifest[T]): CaseClassQueryResult[T]
  37. 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

  38. 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").

  39. val solrQuery: SolrQuery
    Attributes
    protected
  40. 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

  41. def spatialPt(lat: Double, lng: Double): Repr

    Added in response to #63 Missing spatial parameters while building solr query * Sets Spatial field called pt.

  42. 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.

  43. 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

  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped