com.liferay.portal.kernel.search.dummy
Class DummyIndexWriter
java.lang.Object
com.liferay.portal.kernel.search.dummy.DummyIndexWriter
- All Implemented Interfaces:
- IndexWriter, SpellCheckIndexWriter
public class DummyIndexWriter
- extends Object
- implements IndexWriter
|
Method Summary |
void |
addDocument(SearchContext searchContext,
Document document)
|
void |
addDocuments(SearchContext searchContext,
Collection<Document> documents)
|
void |
clearQuerySuggestionDictionaryIndexes(SearchContext searchContext)
|
void |
clearSpellCheckerDictionaryIndexes(SearchContext searchContext)
|
void |
commit(SearchContext searchContext)
|
void |
deleteDocument(SearchContext searchContext,
String uid)
|
void |
deleteDocuments(SearchContext searchContext,
Collection<String> uids)
|
void |
deleteEntityDocuments(SearchContext searchContext,
String className)
|
void |
indexKeyword(SearchContext searchContext,
float weight,
String keywordType)
|
void |
indexQuerySuggestionDictionaries(SearchContext searchContext)
|
void |
indexQuerySuggestionDictionary(SearchContext searchContext)
|
void |
indexSpellCheckerDictionaries(SearchContext searchContext)
|
void |
indexSpellCheckerDictionary(SearchContext searchContext)
|
void |
partiallyUpdateDocument(SearchContext searchContext,
Document document)
|
void |
partiallyUpdateDocuments(SearchContext searchContext,
Collection<Document> documents)
|
void |
updateDocument(SearchContext searchContext,
Document document)
|
void |
updateDocuments(SearchContext searchContext,
Collection<Document> documents)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyIndexWriter
public DummyIndexWriter()
addDocument
public void addDocument(SearchContext searchContext,
Document document)
- Specified by:
addDocument in interface IndexWriter
addDocuments
public void addDocuments(SearchContext searchContext,
Collection<Document> documents)
- Specified by:
addDocuments in interface IndexWriter
clearQuerySuggestionDictionaryIndexes
public void clearQuerySuggestionDictionaryIndexes(SearchContext searchContext)
- Specified by:
clearQuerySuggestionDictionaryIndexes in interface SpellCheckIndexWriter
clearSpellCheckerDictionaryIndexes
public void clearSpellCheckerDictionaryIndexes(SearchContext searchContext)
- Specified by:
clearSpellCheckerDictionaryIndexes in interface SpellCheckIndexWriter
commit
public void commit(SearchContext searchContext)
- Specified by:
commit in interface IndexWriter
deleteDocument
public void deleteDocument(SearchContext searchContext,
String uid)
- Specified by:
deleteDocument in interface IndexWriter
deleteDocuments
public void deleteDocuments(SearchContext searchContext,
Collection<String> uids)
- Specified by:
deleteDocuments in interface IndexWriter
deleteEntityDocuments
public void deleteEntityDocuments(SearchContext searchContext,
String className)
- Specified by:
deleteEntityDocuments in interface IndexWriter
indexKeyword
public void indexKeyword(SearchContext searchContext,
float weight,
String keywordType)
- Specified by:
indexKeyword in interface SpellCheckIndexWriter
indexQuerySuggestionDictionaries
public void indexQuerySuggestionDictionaries(SearchContext searchContext)
- Specified by:
indexQuerySuggestionDictionaries in interface SpellCheckIndexWriter
indexQuerySuggestionDictionary
public void indexQuerySuggestionDictionary(SearchContext searchContext)
- Specified by:
indexQuerySuggestionDictionary in interface SpellCheckIndexWriter
indexSpellCheckerDictionaries
public void indexSpellCheckerDictionaries(SearchContext searchContext)
- Specified by:
indexSpellCheckerDictionaries in interface SpellCheckIndexWriter
indexSpellCheckerDictionary
public void indexSpellCheckerDictionary(SearchContext searchContext)
- Specified by:
indexSpellCheckerDictionary in interface SpellCheckIndexWriter
partiallyUpdateDocument
public void partiallyUpdateDocument(SearchContext searchContext,
Document document)
- Specified by:
partiallyUpdateDocument in interface IndexWriter
partiallyUpdateDocuments
public void partiallyUpdateDocuments(SearchContext searchContext,
Collection<Document> documents)
- Specified by:
partiallyUpdateDocuments in interface IndexWriter
updateDocument
public void updateDocument(SearchContext searchContext,
Document document)
- Specified by:
updateDocument in interface IndexWriter
updateDocuments
public void updateDocuments(SearchContext searchContext,
Collection<Document> documents)
- Specified by:
updateDocuments in interface IndexWriter