object SolrClientFactory
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SolrClientFactory
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
basicAuth(username: String, password: String): (String) ⇒ HttpSolrClient
Configure HttpSolrClient for basic authentication.
Configure HttpSolrClient for basic authentication.
implicit val solr = SolrClientFactory.basicAuth("username", "password") val client = new SolrClient("http://localhost:8983/solr")
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
cloud(username: String, password: String): (String) ⇒ CloudSolrClient
Provides a client for CloudSolr with authentication.
Provides a client for CloudSolr with authentication.
implicit val solr = SolrClientFactory.cloud("username", "password") val client = new SolrClient("zkHost1,zkHost2,zkHost3:2182/solr")
-
def
cloud(): (String) ⇒ CloudSolrClient
Provides a client for CloudSolr.
Provides a client for CloudSolr.
implicit val solr = SolrClientFactory.cloud() val client = new SolrClient("zkHost1,zkHost2,zkHost3:2182/solr")
-
def
dummy(listener: (SolrRequest[_ <: SolrResponse]) ⇒ Unit): (String) ⇒ org.apache.solr.client.solrj.SolrClient
Provides the dummy HttpSolrClient for unit testing.
Provides the dummy HttpSolrClient for unit testing.
implicit val solr = SolrClientFactory.dummy { request => println(request.getMethod) println(request.getPath) println(request.getParams) } val client = new SolrClient("http://localhost:8983/solr")
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()