public abstract class SolrDAO extends java.lang.Object implements org.springframework.context.ApplicationContextAware
Modifier and Type | Field and Description |
---|---|
static int |
MAX_DOCUMENT_COUNT
Maximum document count for SOLR queries
|
static int |
SOLR_COMMIT_WITHIN
Specifies time to wait in milliseconds before invoking "soft commit" for Solr index.
|
static java.lang.String |
SOLR_FIELD_ID
default value for solr id field
|
Constructor and Description |
---|
SolrDAO() |
Modifier and Type | Method and Description |
---|---|
SimpleSolrTemplate |
getSolrTemplate(java.lang.String beanId) |
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
public static final int SOLR_COMMIT_WITHIN
public static final int MAX_DOCUMENT_COUNT
public static final java.lang.String SOLR_FIELD_ID
public SolrDAO()
public SimpleSolrTemplate getSolrTemplate(java.lang.String beanId)
beanId
- public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2015 Tampere University of Technology, Pori Department.