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
- Alphabetic
- By Inheritance
Inherited
- SolrBackend
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
SolrBackend(nam: String, config: Config)
- nam
The name of the collection.
- config
The configuration file for the Solr DataStore.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
-
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()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def deleteDocuments(ids: List[String]): Unit
-
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
-
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
-
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
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var fields: Map[String, String]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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()
- def getAllDocuments: List[JsObject]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def getDocument(id: String): Option[JsObject]
- def getDocuments(id: String, field: String = "_id_"): List[JsObject]
-
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.
- val hasSchema: Boolean
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val solrConfig: Config
- val solrFallbackConf: Config
- val solrLocation: String
- val solrNormalConfig: Config
- val solrServerLocation: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- var templateOpt: Option[JsObject]
- var toCommit: Boolean
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val url: String
-
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( ... )
-
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