Class IndexingOperation
java.lang.Object
com.yahoo.searchdefinition.fieldoperation.IndexingOperation
- All Implemented Interfaces:
FieldOperation
,Comparable<FieldOperation>
- Author:
- Einar M R Rosenvinge
-
Constructor Summary
ConstructorDescriptionIndexingOperation
(com.yahoo.vespa.indexinglanguage.expressions.ScriptExpression script) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Apply this operation on the given fieldstatic IndexingOperation
fromStream
(SimpleCharStream input, boolean multiLine) Creates an indexing operation which will use the simple linguistics implementation suitable for testingstatic IndexingOperation
fromStream
(SimpleCharStream input, boolean multiLine, com.yahoo.language.Linguistics linguistics, Map<String, com.yahoo.language.process.Embedder> embedders) com.yahoo.vespa.indexinglanguage.expressions.ScriptExpression
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.yahoo.searchdefinition.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:FieldOperation
Apply this operation on the given field- Specified by:
apply
in 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.Embedder> embedders) throws ParseException- Throws:
ParseException
-