Package com.yahoo.schema.fieldoperation
Class IndexingOperation
java.lang.Object
com.yahoo.schema.fieldoperation.IndexingOperation
- All Implemented Interfaces:
FieldOperation,Comparable<FieldOperation>
- Author:
- Einar M R Rosenvinge
-
Constructor Summary
ConstructorsConstructorDescriptionIndexingOperation(com.yahoo.vespa.indexinglanguage.expressions.ScriptExpression script) -
Method Summary
Modifier and TypeMethodDescriptionvoidApply this operation on the given fieldstatic IndexingOperationfromStream(SimpleCharStream input, boolean multiLine) Creates an indexing operation which will use the simple linguistics implementation suitable for testingstatic IndexingOperationfromStream(SimpleCharStream input, boolean multiLine, com.yahoo.language.Linguistics linguistics, Map<String, com.yahoo.language.process.Chunker> chunkers, Map<String, com.yahoo.language.process.Embedder> embedders, Map<String, com.yahoo.language.process.FieldGenerator> generators) com.yahoo.vespa.indexinglanguage.expressions.ScriptExpressionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.yahoo.schema.fieldoperation.FieldOperation
compareTo
-
Constructor Details
-
IndexingOperation
public IndexingOperation(com.yahoo.vespa.indexinglanguage.expressions.ScriptExpression script)
-
-
Method Details
-
getScript
public com.yahoo.vespa.indexinglanguage.expressions.ScriptExpression getScript() -
apply
Description copied from interface:FieldOperationApply this operation on the given field- Specified by:
applyin interfaceFieldOperation
-
fromStream
public static IndexingOperation fromStream(SimpleCharStream input, boolean multiLine) throws ParseException Creates an indexing operation which will use the simple linguistics implementation suitable for testing- Throws:
ParseException
-
fromStream
public static IndexingOperation fromStream(SimpleCharStream input, boolean multiLine, com.yahoo.language.Linguistics linguistics, Map<String, com.yahoo.language.process.Chunker> chunkers, Map<String, throws ParseExceptioncom.yahoo.language.process.Embedder> embedders, Map<String, com.yahoo.language.process.FieldGenerator> generators) - Throws:
ParseException
-