Commit a5057b4 1 parent 28b4842 commit a5057b4 Copy full SHA for a5057b4
File tree 2 files changed +4
-4
lines changed
server/src/main/java/org/opensearch/index/mapper
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 76
76
import java .time .ZonedDateTime ;
77
77
import java .util .Arrays ;
78
78
import java .util .Collections ;
79
- import java .util .HashMap ;
80
79
import java .util .List ;
81
80
import java .util .Locale ;
82
81
import java .util .Map ;
Original file line number Diff line number Diff line change @@ -572,9 +572,10 @@ protected static String indexOptionToString(IndexOptions indexOption) {
572
572
573
573
protected abstract String contentType ();
574
574
575
- public Object getDerivedSource (LeafReader leafReader , int docId ) throws IOException {
576
- if (mappedFieldType .isDerivedSourceSupported () == false )
577
- throw new UnsupportedOperationException ("Derived source field is not supported for [" + name () + "] field" );
575
+ public Object getDerivedSource (LeafReader leafReader , int docId ) throws IOException {
576
+ if (mappedFieldType .isDerivedSourceSupported () == false ) throw new UnsupportedOperationException (
577
+ "Derived source field is not supported for [" + name () + "] field"
578
+ );
578
579
return deriveSource (leafReader , docId );
579
580
}
580
581
You can’t perform that action at this time.
0 commit comments