Packages

class SolrBackend[Data <: Identifiable[Data]] extends AnyRef

The SolrBackend keeps track of an evolving Solr database.

Data

The type of the data.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SolrBackend
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SolrBackend(nam: String, config: Config)

    nam

    The name of the collection.

    config

    The configuration file for the Solr DataStore.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from SolrBackend[Data] to any2stringadd[SolrBackend[Data]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SolrBackend[Data], B)
    Implicit
    This member is added by an implicit conversion from SolrBackend[Data] to ArrowAssoc[SolrBackend[Data]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addDocument(doc: JsObject, key: String): Unit

    Gives an HTTP Post Request to put a document in with a key.

    Gives an HTTP Post Request to put a document in with a key.

    doc

    The document to put in Solr

    key

    The key of the document.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def deleteDocuments(ids: List[String]): Unit
  10. def ensuring(cond: (SolrBackend[Data]) ⇒ Boolean, msg: ⇒ Any): SolrBackend[Data]
    Implicit
    This member is added by an implicit conversion from SolrBackend[Data] to Ensuring[SolrBackend[Data]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (SolrBackend[Data]) ⇒ Boolean): SolrBackend[Data]
    Implicit
    This member is added by an implicit conversion from SolrBackend[Data] to Ensuring[SolrBackend[Data]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): SolrBackend[Data]
    Implicit
    This member is added by an implicit conversion from SolrBackend[Data] to Ensuring[SolrBackend[Data]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): SolrBackend[Data]
    Implicit
    This member is added by an implicit conversion from SolrBackend[Data] to Ensuring[SolrBackend[Data]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. var fields: Map[String, String]
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from SolrBackend[Data] to StringFormat[SolrBackend[Data]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. def getAllDocuments: List[JsObject]
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  21. def getDocument(id: String): Option[JsObject]
  22. def getDocuments(id: String, field: String = "_id_"): List[JsObject]
  23. def getDocumentsFromQuery(query: String): List[JsObject]

    Searches Solr for documents via an HTTP Get Request, which is parsed into JsObjects.

    Searches Solr for documents via an HTTP Get Request, which is parsed into JsObjects.

    query

    The query to use for the Get Request.

  24. val hasSchema: Boolean
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def keyToString(key: Any): String

    Serializes a key into a string.

    Serializes a key into a string. With Identifiable and Identity types, this keeps in mind that there could be a version attached.

    key

    The data to look for.

    returns

    The stringified version of the data.

  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  31. val solrConfig: Config
  32. val solrFallbackConf: Config
  33. val solrLocation: String
  34. val solrNormalConfig: Config
  35. val solrServerLocation: String
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. var templateOpt: Option[JsObject]
  38. var toCommit: Boolean
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. val url: String
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def [B](y: B): (SolrBackend[Data], B)
    Implicit
    This member is added by an implicit conversion from SolrBackend[Data] to ArrowAssoc[SolrBackend[Data]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SolrBackend[Data] to any2stringadd[SolrBackend[Data]]

Inherited by implicit conversion StringFormat from SolrBackend[Data] to StringFormat[SolrBackend[Data]]

Inherited by implicit conversion Ensuring from SolrBackend[Data] to Ensuring[SolrBackend[Data]]

Inherited by implicit conversion ArrowAssoc from SolrBackend[Data] to ArrowAssoc[SolrBackend[Data]]

Ungrouped