Skip to content

Commit

Permalink
Update in javadocs for DerivedFieldSupportedTypes and DerivedFieldType
Browse files Browse the repository at this point in the history
Signed-off-by: Rishabh Maurya <[email protected]>
  • Loading branch information
rishabhmaurya committed Mar 25, 2024
1 parent 7f3663c commit c1c687b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
import java.util.function.Function;
import java.util.stream.Collectors;

/**
* Contains logic to get the FieldMapper for a given type of derived field. Also, for a given type of derived field,
* it is used to create an IndexableField for the provided type and object. It is useful when indexing into
* lucene MemoryIndex in {@link org.opensearch.index.query.DerivedFieldQuery}.
*/
enum DerivedFieldSupportedTypes {

BOOLEAN("boolean", (name, context) -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

/**
* MappedFieldType for Derived Fields
* Contains logic to different type of queries on derived fields
* Contains logic to execute different type of queries on a derived field of given type.
* @opensearch.internal
*/
public final class DerivedFieldType extends MappedFieldType {
Expand Down

0 comments on commit c1c687b

Please sign in to comment.