|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.service.search.DirectorySearchIndexer
public class DirectorySearchIndexer
Directory global indexer
Field Summary | |
---|---|
static java.lang.String |
INDEXER_NAME
|
static java.lang.String |
SHORT_NAME
|
Constructor Summary | |
---|---|
DirectorySearchIndexer()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
org.apache.lucene.document.Document |
getDocument(Record record,
java.util.List<IEntry> listContentEntry,
java.util.List<IEntry> listTitleEntry,
java.util.List<IEntry> listSummaryEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Builds a document which will be used by Lucene during the indexing of this record |
java.util.List<org.apache.lucene.document.Document> |
getDocuments(java.lang.String recordId)
|
java.util.List<java.lang.String> |
getListType()
|
java.lang.String |
getName()
|
java.lang.String |
getSpecificSearchAppUrl()
|
java.lang.String |
getVersion()
|
void |
indexDocuments()
|
boolean |
isEnable()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INDEXER_NAME
public static final java.lang.String SHORT_NAME
Constructor Detail |
---|
public DirectorySearchIndexer()
Method Detail |
---|
public java.lang.String getName()
getName
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public java.lang.String getDescription()
getDescription
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public java.lang.String getVersion()
getVersion
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public boolean isEnable()
isEnable
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public java.util.List<java.lang.String> getListType()
getListType
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public java.lang.String getSpecificSearchAppUrl()
getSpecificSearchAppUrl
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public java.util.List<org.apache.lucene.document.Document> getDocuments(java.lang.String recordId) throws java.io.IOException, java.lang.InterruptedException, fr.paris.lutece.portal.service.message.SiteMessageException
getDocuments
in interface fr.paris.lutece.portal.service.search.SearchIndexer
java.io.IOException
java.lang.InterruptedException
fr.paris.lutece.portal.service.message.SiteMessageException
public void indexDocuments() throws java.io.IOException, java.lang.InterruptedException, fr.paris.lutece.portal.service.message.SiteMessageException
indexDocuments
in interface fr.paris.lutece.portal.service.search.SearchIndexer
java.io.IOException
java.lang.InterruptedException
fr.paris.lutece.portal.service.message.SiteMessageException
public org.apache.lucene.document.Document getDocument(Record record, java.util.List<IEntry> listContentEntry, java.util.List<IEntry> listTitleEntry, java.util.List<IEntry> listSummaryEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
record
- the record to convert into a documentlistContentEntry
- the entries in this record that are marked as is_indexedlistTitleEntry
- the entries in this record that are marked as is_indexed_as_titlelistSummaryEntry
- the entries in this record that are marked as is_indexed_as_summaryplugin
- the plugin object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |