Blue Mind
Release 1.0

net.bluemind.core.solr
Class SolrHelper

java.lang.Object
  extended by net.bluemind.core.solr.SolrHelper

public class SolrHelper
extends Object

Manages full-text indexing of events & contacts in a SOLR server


Constructor Summary
SolrHelper(AccessToken at)
           
SolrHelper(AccessToken at, Contact c)
           
SolrHelper(Domain d)
           
 
Method Summary
 void createOrUpdate(Contact c)
           
 void createOrUpdate(Event e)
           
 void delete(Contact c)
           
 void delete(Event e)
           
 CommonsHttpSolrServer getSolrContact()
           
 CommonsHttpSolrServer getSolrEvent()
           
static void init()
           
static void shutdown()
           
static void waitForIndexing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrHelper

public SolrHelper(AccessToken at,
                  Contact c)
           throws MalformedURLException
Throws:
MalformedURLException

SolrHelper

public SolrHelper(AccessToken at)
           throws MalformedURLException
Throws:
MalformedURLException

SolrHelper

public SolrHelper(Domain d)
           throws MalformedURLException
Throws:
MalformedURLException
Method Detail

init

public static void init()

shutdown

public static void shutdown()

createOrUpdate

public void createOrUpdate(Contact c)

delete

public void delete(Contact c)

createOrUpdate

public void createOrUpdate(Event e)

delete

public void delete(Event e)

getSolrContact

public CommonsHttpSolrServer getSolrContact()

getSolrEvent

public CommonsHttpSolrServer getSolrEvent()

waitForIndexing

public static void waitForIndexing()

Blue Mind
Release 1.0