Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ add_movies_json_1: |-

Path fileName = Path.of("movies.json");
String moviesJson = Files.readString(fileName);
Client client = new Client(new Config("MEILISEARCH_URL", "masterKey"));
Client client = new Client(new Config("MEILISEARCH_URL", "MEILISEARCH_KEY"));
Index index = client.index("movies");
index.addDocuments(moviesJson);
post_dump_1: |-
Expand Down Expand Up @@ -537,7 +537,7 @@ primary_field_guide_add_document_primary_key: |-
+ "}]"
, "reference_number");
authorization_header_1: |-
Client client = new Client(new Config("MEILISEARCH_URL", "masterKey"));
Client client = new Client(new Config("MEILISEARCH_URL", "MEILISEARCH_KEY"));
client.getKeys();
tenant_token_guide_generate_sdk_1: |-
Map<String, Object> filters = new HashMap<String, Object>();
Expand Down Expand Up @@ -634,7 +634,7 @@ webhooks_get_single_1: |-
client.getWebhook();
webhooks_post_1: |-
HashMap<String, Object> headers = new HashMap<>();
headers.put("authorization", "MASTER_KEY");
headers.put("authorization", "MEILISEARCH_KEY");
headers.put("referer", "http://example.com");
CreateUpdateWebhookRequest webhookReq1 = new CreateUpdateWebhookRequest("http://webiste.com", headers);

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<a href="https://discord.meilisearch.com">Discord</a> |
<a href="https://roadmap.meilisearch.com/tabs/1-under-consideration">Roadmap</a> |
<a href="https://www.meilisearch.com">Website</a> |
<a href="https://www.meilisearch.com/docs/faq">FAQ</a>
<a href="https://www.meilisearch.com/docs/learn/resources/faq">FAQ</a>
</h4>

<p align="center">
Expand Down Expand Up @@ -116,7 +116,7 @@ class TestMeilisearch {
}
```

With the `taskUid`, you can check the status (`enqueued`, `canceled`, `processing`, `succeeded` or `failed`) of your documents addition using the [task endpoint](https://www.meilisearch.com/docs/reference/api/tasks).
With the `taskUid`, you can check the status (`enqueued`, `canceled`, `processing`, `succeeded` or `failed`) of your documents addition using the [task endpoint](https://www.meilisearch.com/docs/reference/api/async-task-management/list-tasks).

#### Basic Search <!-- omit in toc -->

Expand All @@ -139,7 +139,7 @@ SearchResult(hits=[{id=1.0, title=Carol, genres:[Romance, Drama]}], offset=0, li
#### Custom Search <!-- omit in toc -->

If you want a custom search, the easiest way is to create a `SearchRequest` object, and set the parameters that you need.<br>
All the supported options are described in the [search parameters](https://www.meilisearch.com/docs/reference/api/search#search-parameters) section of the documentation.
All the supported options are described in the [search parameters](https://www.meilisearch.com/docs/reference/api/search/search-with-post#search-parameters) section of the documentation.

```java
import com.meilisearch.sdk.SearchRequest;
Expand Down Expand Up @@ -188,7 +188,7 @@ index.updateFilterableAttributesSettings(new String[]

You only need to perform this operation once.

Note that Meilisearch will rebuild your index whenever you update `filterableAttributes`. Depending on the size of your dataset, this might take time. You can track the process using the [task status](https://www.meilisearch.com/docs/reference/api/tasks).
Note that Meilisearch will rebuild your index whenever you update `filterableAttributes`. Depending on the size of your dataset, this might take time. You can track the process using the [task status](https://www.meilisearch.com/docs/reference/api/async-task-management/list-tasks).

Then, you can perform the search:

Expand Down Expand Up @@ -300,10 +300,10 @@ This SDK is compatible with the following JDK versions:

The following sections in our main documentation website may interest you:

- **Manipulate documents**: see the [API references](https://www.meilisearch.com/docs/reference/api/documents) or read more about [documents](https://www.meilisearch.com/docs/learn/core_concepts/documents).
- **Search**: see the [API references](https://www.meilisearch.com/docs/reference/api/search) or follow our guide on [search parameters](https://www.meilisearch.com/docs/reference/api/search#search-parameters).
- **Manage the indexes**: see the [API references](https://www.meilisearch.com/docs/reference/api/indexes) or read more about [indexes](https://www.meilisearch.com/docs/learn/core_concepts/indexes).
- **Configure the index settings**: see the [API references](https://www.meilisearch.com/docs/reference/api/settings) or follow our guide on [settings parameters](https://www.meilisearch.com/docs/reference/api/settings#settings_parameters).
- **Manipulate documents**: see the [API references](https://www.meilisearch.com/docs/reference/api/documents/list-documents-with-get) or read more about [documents](https://www.meilisearch.com/docs/learn/getting_started/documents).
- **Search**: see the [API references](https://www.meilisearch.com/docs/reference/api/search/search-with-post) or follow our guide on [search parameters](https://www.meilisearch.com/docs/reference/api/search/search-with-post#search-parameters).
- **Manage the indexes**: see the [API references](https://www.meilisearch.com/docs/reference/api/indexes/list-all-indexes) or read more about [indexes](https://www.meilisearch.com/docs/learn/getting_started/indexes).
- **Configure the index settings**: see the [API references](https://www.meilisearch.com/docs/reference/api/settings/list-all-settings) or follow our guide on [settings parameters](https://www.meilisearch.com/docs/reference/api/settings/list-all-settings#settings_parameters).

## ⚙️ Contributing

Expand Down
Loading
Loading