public class SolrAppointmentIndexer extends Object implements fr.paris.lutece.plugins.search.solr.indexer.SolrIndexer
Modifier and Type | Field and Description |
---|---|
static String |
FORM_ID_TITLE_SEPARATOR |
static String |
RESOURCE_TYPE_APPOINTMENT |
static String |
RESOURCE_TYPE_SLOT |
Constructor and Description |
---|
SolrAppointmentIndexer() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAppointmentFormAndSlots(int nIdForm,
StringBuffer sbLogs) |
List<fr.paris.lutece.plugins.search.solr.business.field.Field> |
getAdditionalFields() |
String |
getDescription() |
List<fr.paris.lutece.plugins.search.solr.indexer.SolrItem> |
getDocuments(String arg0) |
String |
getName() |
List<String> |
getResourcesName() |
String |
getResourceUid(String strResourceId,
String strResourceType) |
String |
getVersion() |
List<String> |
indexDocuments() |
boolean |
isEnable() |
void |
writeAppointmentFormAndSlots(fr.paris.lutece.plugins.appointment.business.AppointmentForm appointmentForm) |
void |
writeAppointmentFormAndSlots(fr.paris.lutece.plugins.appointment.business.AppointmentForm appointmentForm,
StringBuffer sbLogs) |
void |
writeAppointmentSlot(int nIdSlot,
StringBuffer sbLogs) |
public static final String RESOURCE_TYPE_APPOINTMENT
public static final String RESOURCE_TYPE_SLOT
public static final String FORM_ID_TITLE_SEPARATOR
public String getResourceUid(String strResourceId, String strResourceType)
getResourceUid
in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexer
public List<fr.paris.lutece.plugins.search.solr.business.field.Field> getAdditionalFields()
getAdditionalFields
in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexer
public String getDescription()
getDescription
in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexer
public List<fr.paris.lutece.plugins.search.solr.indexer.SolrItem> getDocuments(String arg0)
getDocuments
in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexer
public String getName()
getName
in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexer
public List<String> getResourcesName()
getResourcesName
in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexer
public String getVersion()
getVersion
in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexer
public List<String> indexDocuments()
indexDocuments
in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexer
public void writeAppointmentFormAndSlots(fr.paris.lutece.plugins.appointment.business.AppointmentForm appointmentForm) throws org.apache.lucene.index.CorruptIndexException, IOException
org.apache.lucene.index.CorruptIndexException
IOException
public void writeAppointmentFormAndSlots(fr.paris.lutece.plugins.appointment.business.AppointmentForm appointmentForm, StringBuffer sbLogs) throws org.apache.lucene.index.CorruptIndexException, IOException
org.apache.lucene.index.CorruptIndexException
IOException
public void deleteAppointmentFormAndSlots(int nIdForm, StringBuffer sbLogs) throws org.apache.solr.client.solrj.SolrServerException, IOException
org.apache.solr.client.solrj.SolrServerException
IOException
public void writeAppointmentSlot(int nIdSlot, StringBuffer sbLogs) throws org.apache.lucene.index.CorruptIndexException, IOException
org.apache.lucene.index.CorruptIndexException
IOException
public boolean isEnable()
isEnable
in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexer
Copyright © 2017 City of Paris. All rights reserved.