code
stringlengths
23
201k
docstring
stringlengths
17
96.2k
func_name
stringlengths
0
235
language
stringclasses
1 value
repo
stringlengths
8
72
path
stringlengths
11
317
url
stringlengths
57
377
license
stringclasses
7 values
private Query searchQueryForOne(String id) { return queryWithIds(id); }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
searchQueryForOne
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // DATAES-799 void shouldThrowOptimisticLockingFailureExceptionWhenConcurrentUpdateOccursOnEntityWithSeqNoPrimaryTermProperty() { OptimisticEntity original = new OptimisticEntity(); original.setMessage("It's fine"); OptimisticEntity saved = operations.save(original).block(); OptimisticEntity forEdit1 = ...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldThrowOptimisticLockingFailureExceptionWhenConcurrentUpdateOccursOnEntityWithSeqNoPrimaryTermProperty
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // DATAES-799 void shouldThrowOptimisticLockingFailureExceptionWhenConcurrentUpdateOccursOnVersionedEntityWithSeqNoPrimaryTermProperty() { OptimisticAndVersionedEntity original = new OptimisticAndVersionedEntity(); original.setMessage("It's fine"); OptimisticAndVersionedEntity saved = operations.save(origi...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldThrowOptimisticLockingFailureExceptionWhenConcurrentUpdateOccursOnVersionedEntityWithSeqNoPrimaryTermProperty
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // DATAES-799 void shouldAllowFullReplaceOfEntityWithBothSeqNoPrimaryTermAndVersion() { OptimisticAndVersionedEntity original = new OptimisticAndVersionedEntity(); original.setMessage("It's fine"); OptimisticAndVersionedEntity saved = operations.save(original).block(); OptimisticAndVersionedEntity forEd...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldAllowFullReplaceOfEntityWithBothSeqNoPrimaryTermAndVersion
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // DATAES-909 void shouldDoUpdate() { SampleEntity entity = randomEntity("test message"); entity.rate = 1; index(entity); org.springframework.data.elasticsearch.core.document.Document document = org.springframework.data.elasticsearch.core.document.Document .create(); document.put("message", "updat...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldDoUpdate
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // DATAES-908 void shouldFillVersionOnSaveOne() { VersionedEntity saved = operations.save(new VersionedEntity()).block(); assertThat(saved.getVersion()).isNotNull(); }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldFillVersionOnSaveOne
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // DATAES-908 void shouldFillVersionOnSaveAll() { VersionedEntity saved = operations.saveAll(singletonList(new VersionedEntity()), VersionedEntity.class).blockLast(); assertThat(saved.getVersion()).isNotNull(); }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldFillVersionOnSaveAll
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // DATAES-908 void shouldFillSeqNoPrimaryTermOnSaveOne() { OptimisticEntity saved = operations.save(new OptimisticEntity()).block(); assertThatSeqNoPrimaryTermIsFilled(saved); }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldFillSeqNoPrimaryTermOnSaveOne
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // DATAES-908 void shouldFillSeqNoPrimaryTermOnSaveAll() { OptimisticEntity saved = operations.saveAll(singletonList(new OptimisticEntity()), OptimisticEntity.class) .blockLast(); assertThatSeqNoPrimaryTermIsFilled(saved); }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldFillSeqNoPrimaryTermOnSaveAll
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // DATAES-796 @DisplayName("should return Mono of SearchPage") void shouldReturnMonoOfSearchPage() { List<SampleEntity> entities = new ArrayList<>(); for (int i = 1; i <= 10; i++) { entities.add(randomEntity("message " + i)); } Query query = Query.findAll().setPageable(PageRequest.of(0, 5)); oper...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldReturnMonoOfSearchPage
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // #1665 @DisplayName("should be able to process date-math-index names") void shouldBeAbleToProcessDateMathIndexNames() { String indexName = "foo-" + LocalDate.now().format(DateTimeFormatter.ofPattern("yyyy.MM")); String dateMathIndexName = "<foo-{now/M{yyyy.MM}}>"; operations.indexOps(IndexCoordinates....
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldBeAbleToProcessDateMathIndexNames
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // #725 @DisplayName("should not return explanation when not requested") void shouldNotReturnExplanationWhenNotRequested() { SampleEntity entity = new SampleEntity(); entity.setId("42"); entity.setMessage("a message with text"); operations.save(entity).as(StepVerifier::create).expectNextCount(1).verify...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldNotReturnExplanationWhenNotRequested
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // #725 @DisplayName("should return explanation when requested") void shouldReturnExplanationWhenRequested() { SampleEntity entity = new SampleEntity(); entity.setId("42"); entity.setMessage("a message with text"); operations.save(entity).as(StepVerifier::create).expectNextCount(1).verifyComplete(); ...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldReturnExplanationWhenRequested
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // #1646, #1718 @DisplayName("should return a list of info for specific index") void shouldReturnInformationListOfAllIndices() { String indexName = indexNameProvider.indexName(); String aliasName = indexName + "-alias"; ReactiveIndexOperations indexOps = operations.indexOps(EntityWithSettingsAndMappingsRe...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldReturnInformationListOfAllIndices
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // #1800 @DisplayName("should work with immutable classes") void shouldWorkWithImmutableClasses() { ImmutableEntity entity = new ImmutableEntity(null, "some text", null); AtomicReference<ImmutableEntity> savedEntity = new AtomicReference<>(); operations.save(entity).as(StepVerifier::create).consumeNextW...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldWorkWithImmutableClasses
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // #2015 @DisplayName("should return Mono of ReactiveSearchHits") void shouldReturnMonoOfReactiveSearchHits() { List<SampleEntity> entities = new ArrayList<>(); for (int i = 1; i <= 20; i++) { entities.add(randomEntity("message " + i)); } Query query = Query.findAll().setPageable(PageRequest.of(0, 7...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldReturnMonoOfReactiveSearchHits
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // #2230 @DisplayName("should work with readonly id") void shouldWorkWithReadonlyId() { ReadonlyIdEntity entity = new ReadonlyIdEntity(); entity.setPart1("foo"); entity.setPart2("bar"); operations.save(entity).block(); operations.get(entity.getId(), ReadonlyIdEntity.class) // .as(StepVerifier::...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldWorkWithReadonlyId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // #2496, #2576 @DisplayName("should save data from Flux and return saved data in a flux") void shouldSaveDataFromFluxAndReturnSavedDataInAFlux() { var count = 12_345; var entityList = IntStream.rangeClosed(1, count)// .mapToObj(SampleEntity::of) // .collect(Collectors.toList()); // we add a ran...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldSaveDataFromFluxAndReturnSavedDataInAFlux
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Test // #2619 void shouldFailWithConflictOnAttemptToSaveWithSameVersion() { var entity1 = new VersionedEntity(); entity1.setId("id1"); entity1.setVersion(1L); var entity2 = new VersionedEntity(); entity2.setId("id2"); entity2.setVersion(1L); operations.saveAll(Arrays.asList(entity1, entity2), VersionedE...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
shouldFailWithConflictOnAttemptToSaveWithSameVersion
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
protected SampleEntity randomEntity(@Nullable String message) { SampleEntity entity = new SampleEntity(); entity.setId(UUID.randomUUID().toString()); entity.setMessage(StringUtils.hasText(message) ? message : "test message"); entity.setVersion(System.currentTimeMillis()); return entity; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
randomEntity
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
private IndexQuery getIndexQuery(SampleEntity sampleEntity) { return new IndexQueryBuilder().withId(sampleEntity.getId()).withObject(sampleEntity) .withVersion(sampleEntity.getVersion()).build(); }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getIndexQuery
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
private List<IndexQuery> getIndexQueries(SampleEntity... sampleEntities) { return Arrays.stream(sampleEntities).map(this::getIndexQuery).collect(Collectors.toList()); }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getIndexQueries
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
private void index(SampleEntity... entities) { IndexCoordinates indexCoordinates = IndexCoordinates.of(indexNameProvider.indexName()); if (entities.length == 1) { operations.save(entities[0], indexCoordinates).block(); } else { operations.saveAll(Mono.just(Arrays.asList(entities)), indexCoordinates).then(...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
index
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public String getMessage() { return message; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getMessage
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setMessage(@Nullable String message) { this.message = message; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setMessage
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Message message1 = (Message) o; return Objects.equals(message, message1.message); }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
equals
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Override public int hashCode() { return message != null ? message.hashCode() : 0; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
hashCode
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
static SampleEntity of(int id) { var entity = new SampleEntity(); entity.setId("" + id); entity.setMessage(" message " + id); return entity; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
of
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public String getId() { return id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setId(@Nullable String id) { this.id = id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public String getMessage() { return message; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getMessage
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setMessage(@Nullable String message) { this.message = message; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setMessage
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public int getRate() { return rate; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getRate
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setRate(int rate) { this.rate = rate; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setRate
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public java.lang.@Nullable Long getVersion() { return version; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getVersion
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setVersion(java.lang.@Nullable Long version) { this.version = version; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setVersion
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } SampleEntity that = (SampleEntity) o; if (rate != that.rate) { return false; } if (!Objects.equals(id, that.id)) { return false; } ...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
equals
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Override public int hashCode() { int result = id != null ? id.hashCode() : 0; result = 31 * result + (message != null ? message.hashCode() : 0); result = 31 * result + rate; result = 31 * result + (version != null ? version.hashCode() : 0); return result; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
hashCode
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public String getId() { return id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setId(@Nullable String id) { this.id = id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public String getMessage() { return message; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getMessage
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setMessage(@Nullable String message) { this.message = message; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setMessage
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public SeqNoPrimaryTerm getSeqNoPrimaryTerm() { return seqNoPrimaryTerm; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getSeqNoPrimaryTerm
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setSeqNoPrimaryTerm(@Nullable SeqNoPrimaryTerm seqNoPrimaryTerm) { this.seqNoPrimaryTerm = seqNoPrimaryTerm; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setSeqNoPrimaryTerm
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public String getId() { return id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setId(@Nullable String id) { this.id = id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public String getMessage() { return message; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getMessage
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setMessage(@Nullable String message) { this.message = message; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setMessage
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public SeqNoPrimaryTerm getSeqNoPrimaryTerm() { return seqNoPrimaryTerm; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getSeqNoPrimaryTerm
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setSeqNoPrimaryTerm(@Nullable SeqNoPrimaryTerm seqNoPrimaryTerm) { this.seqNoPrimaryTerm = seqNoPrimaryTerm; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setSeqNoPrimaryTerm
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public java.lang.@Nullable Long getVersion() { return version; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getVersion
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setVersion(java.lang.@Nullable Long version) { this.version = version; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setVersion
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public String getId() { return id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setId(@Nullable String id) { this.id = id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public java.lang.@Nullable Long getVersion() { return version; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getVersion
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setVersion(java.lang.@Nullable Long version) { this.version = version; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setVersion
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public String getId() { return id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setId(@Nullable String id) { this.id = id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public ImmutableEntity withId(@Nullable String id) { return new ImmutableEntity(id, this.text, this.seqNoPrimaryTerm); }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
withId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public ImmutableEntity withSeqNoPrimaryTerm(@Nullable SeqNoPrimaryTerm seqNoPrimaryTerm) { return new ImmutableEntity(this.id, this.text, seqNoPrimaryTerm); }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
withSeqNoPrimaryTerm
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public String getId() { return id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public String getText() { return text; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getText
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public SeqNoPrimaryTerm getSeqNoPrimaryTerm() { return seqNoPrimaryTerm; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getSeqNoPrimaryTerm
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } ImmutableEntity that = (ImmutableEntity) o; if (!id.equals(that.id)) { return false; } if (!text.equals(that.text)) { return false; } ...
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
equals
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Override public int hashCode() { int result = id.hashCode(); result = 31 * result + text.hashCode(); result = 31 * result + (seqNoPrimaryTerm != null ? seqNoPrimaryTerm.hashCode() : 0); return result; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
hashCode
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Override public String toString() { return "ImmutableEntity{" + "id='" + id + '\'' + ", text='" + text + '\'' + ", seqNoPrimaryTerm=" + seqNoPrimaryTerm + '}'; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
toString
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Id @WriteOnlyProperty @AccessType(AccessType.Type.PROPERTY) public String getId() { return part1 + '-' + part2; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public String getPart1() { return part1; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getPart1
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setPart1(String part1) { this.part1 = part1; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setPart1
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public String getPart2() { return part2; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getPart2
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setPart2(String part2) { this.part2 = part2; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setPart2
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public String getId() { return id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setId(@Nullable String id) { this.id = id; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public String getSomeText() { return someText; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getSomeText
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setSomeText(@Nullable String someText) { this.someText = someText; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setSomeText
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@Nullable public String getIndexedIndexName() { return indexedIndexName; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
getIndexedIndexName
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
public void setIndexedIndexName(@Nullable String indexedIndexName) { this.indexedIndexName = indexedIndexName; }
@author Christoph Strobl @author Mark Paluch @author Peter-Josef Meisch @author Farid Azaza @author Martin Choraine @author Aleksei Arsenev @author Russell Parry @author Roman Puchkovskiy @author George Popides @author Sijia Liu @author Illia Ulianov
setIndexedIndexName
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchIntegrationTests.java
Apache-2.0
@BeforeEach void setUp() { indexNameProvider.increment(); blocking(operations.indexOps(SampleEntity.class)).createWithMapping(); }
Integration tests for the point in time API. @author Peter-Josef Meisch
setUp
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactivePointInTimeIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactivePointInTimeIntegrationTests.java
Apache-2.0
@Test @Order(Integer.MAX_VALUE) void cleanup() { blocking(operations.indexOps(IndexCoordinates.of(indexNameProvider.getPrefix() + '*'))).delete(); }
Integration tests for the point in time API. @author Peter-Josef Meisch
cleanup
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactivePointInTimeIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactivePointInTimeIntegrationTests.java
Apache-2.0
@Test // #1684 @DisplayName("should create pit search with it and delete it again") void shouldCreatePitSearchWithItAndDeleteItAgain() { // insert 2 records, one smith List<SampleEntity> eList = List.of(new SampleEntity("1", "John", "Smith"), new SampleEntity("2", "Mike", "Cutter")); operations.saveAll(eList, ...
Integration tests for the point in time API. @author Peter-Josef Meisch
shouldCreatePitSearchWithItAndDeleteItAgain
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactivePointInTimeIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactivePointInTimeIntegrationTests.java
Apache-2.0
@BeforeEach public void beforeEach() { indexNameProvider.increment(); blocking(operations.indexOps(Entity.class)).createWithMapping(); }
x * Note: the imperative version of these tests have more details and test methods, but they test that the request is built correctly. The same method from the {@link org.springframework.data.elasticsearch.client.elc.RequestConverter} are used here, so there is no need to test this more than once. @author Peter-Josef ...
beforeEach
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
Apache-2.0
@Test @Order(java.lang.Integer.MAX_VALUE) void cleanup() { blocking(operations.indexOps(IndexCoordinates.of(indexNameProvider.getPrefix() + '*'))).delete(); }
x * Note: the imperative version of these tests have more details and test methods, but they test that the request is built correctly. The same method from the {@link org.springframework.data.elasticsearch.client.elc.RequestConverter} are used here, so there is no need to test this more than once. @author Peter-Josef ...
cleanup
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
Apache-2.0
@Test // #1529 void shouldReindex() { String sourceIndexName = indexNameProvider.indexName(); String documentId = nextIdAsString(); Entity entity = new Entity(); entity.setId(documentId); entity.setMessage("abc"); operations.save(entity) // .as(StepVerifier::create) // .expectNextCount(1) // ...
x * Note: the imperative version of these tests have more details and test methods, but they test that the request is built correctly. The same method from the {@link org.springframework.data.elasticsearch.client.elc.RequestConverter} are used here, so there is no need to test this more than once. @author Peter-Josef ...
shouldReindex
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
Apache-2.0
@Test // #1529 void shouldSubmitReindexTask() { String sourceIndexName = indexNameProvider.indexName(); indexNameProvider.increment(); String destIndexName = indexNameProvider.indexName(); ReactiveIndexOperations indexOpsNew = operations.indexOps(IndexCoordinates.of(destIndexName)); indexOpsNew.create() //...
x * Note: the imperative version of these tests have more details and test methods, but they test that the request is built correctly. The same method from the {@link org.springframework.data.elasticsearch.client.elc.RequestConverter} are used here, so there is no need to test this more than once. @author Peter-Josef ...
shouldSubmitReindexTask
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
Apache-2.0
@Nullable public String getId() { return id; }
x * Note: the imperative version of these tests have more details and test methods, but they test that the request is built correctly. The same method from the {@link org.springframework.data.elasticsearch.client.elc.RequestConverter} are used here, so there is no need to test this more than once. @author Peter-Josef ...
getId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
Apache-2.0
public void setId(@Nullable String id) { this.id = id; }
x * Note: the imperative version of these tests have more details and test methods, but they test that the request is built correctly. The same method from the {@link org.springframework.data.elasticsearch.client.elc.RequestConverter} are used here, so there is no need to test this more than once. @author Peter-Josef ...
setId
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
Apache-2.0
@Nullable public String getMessage() { return message; }
x * Note: the imperative version of these tests have more details and test methods, but they test that the request is built correctly. The same method from the {@link org.springframework.data.elasticsearch.client.elc.RequestConverter} are used here, so there is no need to test this more than once. @author Peter-Josef ...
getMessage
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
Apache-2.0
public void setMessage(@Nullable String message) { this.message = message; }
x * Note: the imperative version of these tests have more details and test methods, but they test that the request is built correctly. The same method from the {@link org.springframework.data.elasticsearch.client.elc.RequestConverter} are used here, so there is no need to test this more than once. @author Peter-Josef ...
setMessage
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveReindexIntegrationTests.java
Apache-2.0
@BeforeEach void setUp() { indexNameProvider.increment(); blocking(operations.indexOps(Person.class)).createWithMapping(); }
Integration tests for the point in time API. @author Peter-Josef Meisch @since 5.1
setUp
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveSearchTemplateIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveSearchTemplateIntegrationTests.java
Apache-2.0
@Test @Order(Integer.MAX_VALUE) void cleanup() { blocking(operations.indexOps(IndexCoordinates.of(indexNameProvider.getPrefix() + '*'))).delete(); }
Integration tests for the point in time API. @author Peter-Josef Meisch @since 5.1
cleanup
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveSearchTemplateIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveSearchTemplateIntegrationTests.java
Apache-2.0
@Test // #1891 @DisplayName("should store, retrieve and delete template script") void shouldStoreAndRetrieveAndDeleteTemplateScript() throws JSONException { // we do all in this test because scripts aren't stored in an index but in the cluster and we need to clenaup. var success = operations.putScript(script).b...
Integration tests for the point in time API. @author Peter-Josef Meisch @since 5.1
shouldStoreAndRetrieveAndDeleteTemplateScript
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveSearchTemplateIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveSearchTemplateIntegrationTests.java
Apache-2.0
@Test // #1891 @DisplayName("should search with template") void shouldSearchWithTemplate() { var success = operations.putScript(script).block(); assertThat(success).isTrue(); operations.saveAll( // Arrays.asList(new Person("1", "John", "Smith"), // new Person("2", "Willy", "Smith"), // new Per...
Integration tests for the point in time API. @author Peter-Josef Meisch @since 5.1
shouldSearchWithTemplate
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/ReactiveSearchTemplateIntegrationTests.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/ReactiveSearchTemplateIntegrationTests.java
Apache-2.0
@Test // DATAES-772 void unwrapsSearchHitsIteratorToCloseableIteratorOfEntities() { TestStringSearchHitsIterator searchHitsIterator = new TestStringSearchHitsIterator(); @SuppressWarnings("unchecked") CloseableIterator<String> unwrappedIterator = (CloseableIterator<String>) SearchHitSupport .unwrapSearchHit...
@author Roman Puchkovskiy @author Peter-Josef Meisch @author Haibo Liu @author Mohamed El Harrougui
unwrapsSearchHitsIteratorToCloseableIteratorOfEntities
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
Apache-2.0
@Test // DATAES-952 @DisplayName("should return the same list instance in SearchHits and getContent") void shouldReturnTheSameListInstanceInSearchHitsAndGetContent() { List<SearchHit<String>> hits = new ArrayList<>(); hits.add(new SearchHit<>(null, null, null, 0, null, null, null, null, null, null, "one")); hi...
@author Roman Puchkovskiy @author Peter-Josef Meisch @author Haibo Liu @author Mohamed El Harrougui
shouldReturnTheSameListInstanceInSearchHitsAndGetContent
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
Apache-2.0
@Override public AggregationsContainer<?> getAggregations() { return mock(AggregationsContainer.class); }
@author Roman Puchkovskiy @author Peter-Josef Meisch @author Haibo Liu @author Mohamed El Harrougui
getAggregations
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
Apache-2.0
@Override public float getMaxScore() { return 0; }
@author Roman Puchkovskiy @author Peter-Josef Meisch @author Haibo Liu @author Mohamed El Harrougui
getMaxScore
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
Apache-2.0
@Override public Duration getExecutionDuration() { return Duration.ofMillis(1); }
@author Roman Puchkovskiy @author Peter-Josef Meisch @author Haibo Liu @author Mohamed El Harrougui
getExecutionDuration
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
Apache-2.0
@Override public long getTotalHits() { return 2; }
@author Roman Puchkovskiy @author Peter-Josef Meisch @author Haibo Liu @author Mohamed El Harrougui
getTotalHits
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
Apache-2.0
@Override public TotalHitsRelation getTotalHitsRelation() { return mock(TotalHitsRelation.class); }
@author Roman Puchkovskiy @author Peter-Josef Meisch @author Haibo Liu @author Mohamed El Harrougui
getTotalHitsRelation
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
Apache-2.0
@Override public void close() { closed = true; }
@author Roman Puchkovskiy @author Peter-Josef Meisch @author Haibo Liu @author Mohamed El Harrougui
close
java
spring-projects/spring-data-elasticsearch
src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/test/java/org/springframework/data/elasticsearch/core/SearchHitSupportTest.java
Apache-2.0