org.apache.jackrabbit.oak.plugins.index.lucene
Class LuceneIndexEditorProvider
java.lang.Object
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditorProvider
- All Implemented Interfaces:
- org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider
@Service(value=org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider.class)
public class LuceneIndexEditorProvider
- extends Object
- implements org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider
Service that provides Lucene based IndexEditors
- See Also:
LuceneIndexEditor,
IndexEditorProvider
|
Method Summary |
org.apache.jackrabbit.oak.spi.commit.Editor |
getIndexEditor(String type,
org.apache.jackrabbit.oak.spi.state.NodeBuilder definition,
org.apache.jackrabbit.oak.spi.state.NodeState root,
org.apache.jackrabbit.oak.plugins.index.IndexUpdateCallback callback)
|
void |
setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
sets the default analyzer that will be used at index time |
LuceneIndexEditorProvider |
with(org.apache.lucene.analysis.Analyzer analyzer)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneIndexEditorProvider
public LuceneIndexEditorProvider()
getIndexEditor
public org.apache.jackrabbit.oak.spi.commit.Editor getIndexEditor(String type,
org.apache.jackrabbit.oak.spi.state.NodeBuilder definition,
org.apache.jackrabbit.oak.spi.state.NodeState root,
org.apache.jackrabbit.oak.plugins.index.IndexUpdateCallback callback)
throws org.apache.jackrabbit.oak.api.CommitFailedException
- Specified by:
getIndexEditor in interface org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider
- Throws:
org.apache.jackrabbit.oak.api.CommitFailedException
setAnalyzer
public void setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
- sets the default analyzer that will be used at index time
with
public LuceneIndexEditorProvider with(org.apache.lucene.analysis.Analyzer analyzer)
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.