File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
server/src/main/java/org/elasticsearch/index/mapper Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 3030import org .elasticsearch .search .suggest .completion .context .ContextMapping ;
3131import org .elasticsearch .search .suggest .completion .context .ContextMappings ;
3232import org .elasticsearch .xcontent .DeprecationHandler ;
33+ import org .elasticsearch .xcontent .ESBytesRef ;
3334import org .elasticsearch .xcontent .FilterXContentParser ;
3435import org .elasticsearch .xcontent .NamedXContentRegistry ;
3536import org .elasticsearch .xcontent .ToXContent ;
@@ -707,6 +708,14 @@ public Token currentToken() {
707708 return super .currentToken ();
708709 }
709710
711+ @ Override
712+ public ESBytesRef textRefOrNull () throws IOException {
713+ if (parsingObject == false ) {
714+ return null ;
715+ }
716+ return super .textRefOrNull ();
717+ }
718+
710719 @ Override
711720 public String textOrNull () throws IOException {
712721 if (parsingObject == false ) {
You can’t perform that action at this time.
0 commit comments