Term uidTerm = mapperService.createUidTerm(typeX, id); if (uidTerm != null) { get = indexShard.get(new Engine.Get(realtime, readFromTranslog, typeX, id, uidTerm)
final TermVectorsResponse termVectorsResponse = new TermVectorsResponse(indexShard.shardId().getIndex().getName(), request.type(), request.id()); final Term uidTerm = indexShard.mapperService().createUidTerm(request.type(), request.id()); if (uidTerm == null) { termVectorsResponse.setExists(false);
Engine.GetResult result = null; try { Term uidTerm = context.mapperService().createUidTerm(request.type(), request.id()); if (uidTerm == null) { return new ExplainResponse(shardId.getIndexName(), request.type(), request.id(), false);
Term uidTerm = mapperService.createUidTerm(typeX, id); if (uidTerm != null) { get = indexShard.get(new Engine.Get(realtime, readFromTranslog, typeX, id, uidTerm)
Term uidTerm = mapperService.createUidTerm(typeX, id); if (uidTerm != null) { get = indexShard.get(new Engine.Get(realtime, readFromTranslog, typeX, id, uidTerm)
throw new IllegalStateException("All children must have a _parent"); Term uidTerm = context.mapperService().createUidTerm(parentType, parentField.getValue()); if (uidTerm == null) { hitQuery = new MatchNoDocsQuery("Missing type: " + parentType);
throw new IllegalStateException("All children must have a _parent"); Term uidTerm = context.mapperService().createUidTerm(parentType, parentField.getValue()); if (uidTerm == null) { hitQuery = new MatchNoDocsQuery("Missing type: " + parentType);
throw new IllegalStateException("All children must have a _parent"); Term uidTerm = context.mapperService().createUidTerm(parentType, parentField.getValue()); if (uidTerm == null) { hitQuery = new MatchNoDocsQuery("Missing type: " + parentType);
static TermVectorsResponse getTermVectors(IndexShard indexShard, TermVectorsRequest request, LongSupplier nanoTimeSupplier) { final long startTime = nanoTimeSupplier.getAsLong(); final TermVectorsResponse termVectorsResponse = new TermVectorsResponse(indexShard.shardId().getIndex().getName(), request.type(), request.id()); final Term uidTerm = indexShard.mapperService().createUidTerm(request.type(), request.id()); if (uidTerm == null) { termVectorsResponse.setExists(false);
static TermVectorsResponse getTermVectors(IndexShard indexShard, TermVectorsRequest request, LongSupplier nanoTimeSupplier) { final long startTime = nanoTimeSupplier.getAsLong(); final TermVectorsResponse termVectorsResponse = new TermVectorsResponse(indexShard.shardId().getIndex().getName(), request.type(), request.id()); final Term uidTerm = indexShard.mapperService().createUidTerm(request.type(), request.id()); if (uidTerm == null) { termVectorsResponse.setExists(false);
static TermVectorsResponse getTermVectors(IndexShard indexShard, TermVectorsRequest request, LongSupplier nanoTimeSupplier) { final long startTime = nanoTimeSupplier.getAsLong(); final TermVectorsResponse termVectorsResponse = new TermVectorsResponse(indexShard.shardId().getIndex().getName(), request.type(), request.id()); final Term uidTerm = indexShard.mapperService().createUidTerm(request.type(), request.id()); if (uidTerm == null) { termVectorsResponse.setExists(false);
Engine.GetResult result = null; try { Term uidTerm = context.mapperService().createUidTerm(request.type(), request.id()); if (uidTerm == null) { return new ExplainResponse(shardId.getIndexName(), request.type(), request.id(), false);
Engine.GetResult result = null; try { Term uidTerm = context.mapperService().createUidTerm(request.type(), request.id()); if (uidTerm == null) { return new ExplainResponse(shardId.getIndexName(), request.type(), request.id(), false);
Engine.GetResult result = null; try { Term uidTerm = context.mapperService().createUidTerm(request.type(), request.id()); if (uidTerm == null) { return new ExplainResponse(shardId.getIndexName(), request.type(), request.id(), false);