music-of-the-ainur / solr.almaren

Solr Connector For Almaren Framework

GitHub

Solr Connector

Build Status

libraryDependencies += "com.github.music-of-the-ainur" %% "solr-almaren" % "0.0.1-2-4"

Solr Connector was implemented using https://github.com/lucidworks/spark-solr. The Solr Connector just works on Solr Cloud. For all the options available for the connector check on this link.

Source and Target

import com.github.music.of.the.ainur.almaren.Almaren
import com.github.music.of.the.ainur.almaren.solr.Solr.SolrImplicit

val almaren:Almaren = Almaren("App Name")

almaren.builder.sourceSolr("collection","zkHost1:2181,zkHost2:2181",options)

almaren.builder.targetSolr("collection","zkHost1:2181,zkHost2:2181",options)