Skip to content

Commit 5e7a4d6

Browse files
authored
Merge branch 'main' into feat/add-ai-powered-search
2 parents f084169 + 6381b7b commit 5e7a4d6

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
@@ -452,25 +452,23 @@ typo_tolerance_guide_4: |-
452452
};
453453
typoTolerance.setMinWordSizeForTypos(minWordSizeTypos);
454454
client.index("movies").updateTypoToleranceSettings(typoTolerance);
455-
getting_started_add_documents_md: |-
456-
**Maven**
457-
Add the following code to the `<dependencies>` section of your project:
458-
```xml
459-
<dependency>
460-
<groupId>com.meilisearch.sdk</groupId>
461-
<artifactId>meilisearch-java</artifactId>
462-
<version>0.14.4</version>
463-
<type>pom</type>
464-
</dependency>
465-
```
466-
467-
**Gradle**
468-
Add the following line to the `dependencies` section of your `build.gradle`:
469-
```groovy
470-
implementation 'com.meilisearch.sdk:meilisearch-java:0.14.4'
471-
```
472-
473-
```java
455+
getting_started_add_documents: |-
456+
// For Maven:
457+
// Add the following code to the `<dependencies>` section of your project:
458+
//
459+
// <dependency>
460+
// <groupId>com.meilisearch.sdk</groupId>
461+
// <artifactId>meilisearch-java</artifactId>
462+
// <version>0.14.5</version>
463+
// <type>pom</type>
464+
// </dependency>
465+
466+
// For Gradle
467+
// Add the following line to the `dependencies` section of your `build.gradle`:
468+
//
469+
// implementation 'com.meilisearch.sdk:meilisearch-java:0.14.5'
470+
471+
// In your .java file:
474472
import com.meilisearch.sdk;
475473
import java.nio.file.Files;
476474
import java.nio.file.Path;
@@ -480,17 +478,10 @@ getting_started_add_documents_md: |-
480478
Client client = new Client(new Config("http://localhost:7700", "aSampleMasterKey"));
481479
Index index = client.index("movies");
482480
index.addDocuments(moviesJson);
483-
```
484-
485-
[About this SDK](https://github.com/meilisearch/meilisearch-java)
486481
getting_started_check_task_status: |-
487482
client.getTask(0);
488-
getting_started_search_md: |-
489-
```java
483+
getting_started_search: |-
490484
client.index("movies").search("botman");
491-
```
492-
493-
[About this SDK](https://github.com/meilisearch/meilisearch-java)
494485
getting_started_add_meteorites: |-
495486
import com.meilisearch.sdk;
496487
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.4</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.4'
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.4'
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.4";
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)