-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[Star tree] Star tree merge changes #14652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7c7db9d
6c80d66
c55460f
21f9ff0
04d139c
a1957f7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* The OpenSearch Contributors require contributions made to | ||
* this file be licensed under the Apache-2.0 license or a | ||
* compatible open source license. | ||
*/ | ||
|
||
package org.opensearch.index.codec.composite; | ||
|
||
import org.opensearch.common.annotation.ExperimentalApi; | ||
import org.opensearch.index.mapper.CompositeMappedFieldType; | ||
|
||
/** | ||
* Field info details of composite index fields | ||
* | ||
* @opensearch.experimental | ||
*/ | ||
@ExperimentalApi | ||
public class CompositeIndexFieldInfo { | ||
private final String field; | ||
private final CompositeMappedFieldType.CompositeFieldType type; | ||
|
||
public CompositeIndexFieldInfo(String field, CompositeMappedFieldType.CompositeFieldType type) { | ||
this.field = field; | ||
this.type = type; | ||
} | ||
Check warning on line 28 in server/src/main/java/org/opensearch/index/codec/composite/CompositeIndexFieldInfo.java
|
||
|
||
public String getField() { | ||
return field; | ||
Check warning on line 31 in server/src/main/java/org/opensearch/index/codec/composite/CompositeIndexFieldInfo.java
|
||
} | ||
|
||
public CompositeMappedFieldType.CompositeFieldType getType() { | ||
return type; | ||
Check warning on line 35 in server/src/main/java/org/opensearch/index/codec/composite/CompositeIndexFieldInfo.java
|
||
} | ||
} |
Uh oh!
There was an error while loading. Please reload this page.