|
||||||||||
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 String |
INDEXER_NAME
|
static String |
SHORT_NAME
|
Constructor Summary | |
---|---|
DirectorySearchIndexer()
|
Method Summary | |
---|---|
String |
getDescription()
|
org.apache.lucene.document.Document |
getDocument(Record record,
List<IEntry> listContentEntry,
List<IEntry> listTitleEntry,
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 |
List<org.apache.lucene.document.Document> |
getDocuments(String recordId)
|
List<String> |
getListType()
|
String |
getName()
|
String |
getSpecificSearchAppUrl()
|
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 String INDEXER_NAME
public static final String SHORT_NAME
Constructor Detail |
---|
public DirectorySearchIndexer()
Method Detail |
---|
public String getName()
getName
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public String getDescription()
getDescription
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public 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 List<String> getListType()
getListType
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public String getSpecificSearchAppUrl()
getSpecificSearchAppUrl
in interface fr.paris.lutece.portal.service.search.SearchIndexer
public List<org.apache.lucene.document.Document> getDocuments(String recordId) throws IOException, InterruptedException, fr.paris.lutece.portal.service.message.SiteMessageException
getDocuments
in interface fr.paris.lutece.portal.service.search.SearchIndexer
IOException
InterruptedException
fr.paris.lutece.portal.service.message.SiteMessageException
public void indexDocuments() throws IOException, InterruptedException, fr.paris.lutece.portal.service.message.SiteMessageException
indexDocuments
in interface fr.paris.lutece.portal.service.search.SearchIndexer
IOException
InterruptedException
fr.paris.lutece.portal.service.message.SiteMessageException
public org.apache.lucene.document.Document getDocument(Record record, List<IEntry> listContentEntry, List<IEntry> listTitleEntry, 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 |