Skip to content

Commit 5279c41

Browse files
authored
Merge branch 'main' into enhancement/#838-Filterable-Attributes-Methods
2 parents 30d27e4 + 6381b7b commit 5279c41

File tree

4 files changed

+25
-34
lines changed

4 files changed

+25
-34
lines changed

.code-samples.meilisearch.yaml

Lines changed: 18 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -455,25 +455,23 @@ typo_tolerance_guide_4: |-
455455
};
456456
typoTolerance.setMinWordSizeForTypos(minWordSizeTypos);
457457
client.index("movies").updateTypoToleranceSettings(typoTolerance);
458-
getting_started_add_documents_md: |-
459-
**Maven**
460-
Add the following code to the `<dependencies>` section of your project:
461-
```xml
462-
<dependency>
463-
<groupId>com.meilisearch.sdk</groupId>
464-
<artifactId>meilisearch-java</artifactId>
465-
<version>0.14.3</version>
466-
<type>pom</type>
467-
</dependency>
468-
```
469-
470-
**Gradle**
471-
Add the following line to the `dependencies` section of your `build.gradle`:
472-
```groovy
473-
implementation 'com.meilisearch.sdk:meilisearch-java:0.14.3'
474-
```
475-
476-
```java
458+
getting_started_add_documents: |-
459+
// For Maven:
460+
// Add the following code to the `<dependencies>` section of your project:
461+
//
462+
// <dependency>
463+
// <groupId>com.meilisearch.sdk</groupId>
464+
// <artifactId>meilisearch-java</artifactId>
465+
// <version>0.14.5</version>
466+
// <type>pom</type>
467+
// </dependency>
468+
469+
// For Gradle
470+
// Add the following line to the `dependencies` section of your `build.gradle`:
471+
//
472+
// implementation 'com.meilisearch.sdk:meilisearch-java:0.14.5'
473+
474+
// In your .java file:
477475
import com.meilisearch.sdk;
478476
import java.nio.file.Files;
479477
import java.nio.file.Path;
@@ -483,17 +481,10 @@ getting_started_add_documents_md: |-
483481
Client client = new Client(new Config("http://localhost:7700", "aSampleMasterKey"));
484482
Index index = client.index("movies");
485483
index.addDocuments(moviesJson);
486-
```
487-
488-
[About this SDK](https://github.com/meilisearch/meilisearch-java)
489484
getting_started_check_task_status: |-
490485
client.getTask(0);
491-
getting_started_search_md: |-
492-
```java
486+
getting_started_search: |-
493487
client.index("movies").search("botman");
494-
```
495-
496-
[About this SDK](https://github.com/meilisearch/meilisearch-java)
497488
getting_started_add_meteorites: |-
498489
import com.meilisearch.sdk;
499490
import org.json.JSONArray;

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Add the following code to the `<dependencies>` section of your project:
5858
<dependency>
5959
<groupId>com.meilisearch.sdk</groupId>
6060
<artifactId>meilisearch-java</artifactId>
61-
<version>0.14.3</version>
61+
<version>0.14.5</version>
6262
<type>pom</type>
6363
</dependency>
6464
```
@@ -68,7 +68,7 @@ Add the following code to the `<dependencies>` section of your project:
6868
Add the following line to the `dependencies` section of your `build.gradle`:
6969

7070
```groovy
71-
implementation 'com.meilisearch.sdk:meilisearch-java:0.14.3'
71+
implementation 'com.meilisearch.sdk:meilisearch-java:0.14.5'
7272
```
7373

7474
:warning: `meilisearch-java` also requires `okhttp` as a peer dependency.

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ plugins {
1818

1919
group = 'com.meilisearch.sdk'
2020
archivesBaseName = 'meilisearch-java'
21-
version = '0.14.3'
21+
version = '0.14.5'
2222

2323
java {
2424
sourceCompatibility = JavaVersion.VERSION_1_8
@@ -61,12 +61,12 @@ dependencies {
6161
// https://mvnrepository.com/artifact/org.mockito/mockito-core
6262
testImplementation 'org.mockito:mockito-core:4.9.0'
6363
testImplementation 'org.hamcrest:hamcrest:3.0'
64-
testImplementation 'com.squareup.okio:okio:3.10.2'
64+
testImplementation 'com.squareup.okio:okio:3.11.0'
6565
testImplementation 'com.squareup.okhttp3:okhttp:4.12.0'
66-
testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.18.3'
66+
testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.19.0'
6767

6868
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
69-
compileOnly group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.18.3'
69+
compileOnly group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.19.0'
7070

7171
// Lombok
7272
compileOnly 'org.projectlombok:lombok:1.18.38'

src/main/java/com/meilisearch/sdk/Version.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.meilisearch.sdk;
22

33
public class Version {
4-
static final String VERSION = "0.14.3";
4+
static final String VERSION = "0.14.5";
55

66
public static String getQualifiedVersion() {
77
return "Meilisearch Java (v" + VERSION + ")";

0 commit comments

Comments
 (0)