Skip to content

Commit 0687d81

Browse files
bors[bot]bidoubiwa
andauthored
Merge #624
624: Update URL to meilisearch instance r=bidoubiwa a=bidoubiwa Co-authored-by: Charlotte Vermandel <[email protected]> Co-authored-by: cvermand <[email protected]>
2 parents 4fa9862 + f7719cb commit 0687d81

File tree

9 files changed

+20
-18
lines changed

9 files changed

+20
-18
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ yarn add @meilisearch/instant-meilisearch
5858
```
5959

6060
InstantMeiliSearch is a client for `instantsearch.js`. It does not create any UI component by itself.<br>
61-
To be able to create a search interface, you'll need to [install `instantsearch.js`](https://www.algolia.com/doc/guides/building-search-ui/installation/js/) as well.
61+
To be able to create a search interface, you'll need to [install `instantsearch.js`](https://www.algolia.com/doc/guides/building-search-ui/installation/js/) as well.
6262

6363
## Usage
6464

@@ -68,7 +68,7 @@ To be able to create a search interface, you'll need to [install `instantsearch.
6868
import { instantMeiliSearch } from '@meilisearch/instant-meilisearch'
6969

7070
const searchClient = instantMeiliSearch(
71-
'https://demos.meilisearch.com',
71+
'https://integration-demos.meilisearch.com',
7272
'dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25'
7373
)
7474
```
@@ -79,7 +79,7 @@ const searchClient = instantMeiliSearch(
7979
import { instantMeiliSearch } from '@meilisearch/instant-meilisearch'
8080

8181
const searchClient = instantMeiliSearch(
82-
'https://demos.meilisearch.com',
82+
'https://integration-demos.meilisearch.com',
8383
'dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25',
8484
{
8585
paginationTotalHits: 30, // default: 200.
@@ -132,7 +132,7 @@ In `app.js`:
132132
const search = instantsearch({
133133
indexName: 'steam-video-games',
134134
searchClient: instantMeiliSearch(
135-
'https://demos.meilisearch.com',
135+
'https://integration-demos.meilisearch.com',
136136
'dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25'
137137
),
138138
})
@@ -253,7 +253,7 @@ List of all the components that are available in [instantSearch](https://github.
253253
const search = instantsearch({
254254
indexName: 'instant_search',
255255
searchClient: instantMeiliSearch(
256-
'https://demos.meilisearch.com',
256+
'https://integration-demos.meilisearch.com',
257257
'dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25',
258258
{
259259
// ... InstantMeiliSearch options

cypress/integration/search-ui.spec.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ describe(`${playground} playground test`, () => {
6161
cy.get(checkbox).eq(1).click()
6262
if (playground === 'react') cy.contains('1,939')
6363
if (playground === 'angular') cy.contains('1939')
64-
cy.get(HIT_ITEM_CLASS).eq(0).contains('Kings Quest Collection')
65-
cy.get(HIT_ITEM_CLASS).eq(0).contains('19.99 $')
64+
cy.get(HIT_ITEM_CLASS)
65+
.eq(0)
66+
.contains('Safecracker: The Ultimate Puzzle Adventure')
67+
cy.get(HIT_ITEM_CLASS).eq(0).contains('4.99 $')
6668
})
6769

6870
it('Search', () => {
@@ -92,7 +94,7 @@ describe(`${playground} playground test`, () => {
9294
if (playground === 'vue') cy.get('.ais-Pagination-item').eq(3).click()
9395
else cy.get('.ais-Pagination-item--page').eq(1).click()
9496
cy.wait(500)
95-
cy.get(HIT_ITEM_CLASS).eq(0).contains('Kings Quest Collection')
97+
cy.get(HIT_ITEM_CLASS).eq(0).contains('Darwinia')
9698
}
9799
})
98100
})

playgrounds/angular/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Component } from '@angular/core'
22
import { instantMeiliSearch } from '../../../../src'
33

44
const searchClient = instantMeiliSearch(
5-
'https://demos.meilisearch.com',
5+
'https://integration-demos.meilisearch.com',
66
'dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25'
77
)
88

playgrounds/geo-javascript/src/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ injectScript(
99
const search = instantsearch({
1010
indexName: 'world_cities',
1111
searchClient: instantMeiliSearch(
12-
'https://demos.meilisearch.com',
12+
'https://integration-demos.meilisearch.com',
1313
'dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25',
1414
{
15-
limitPerRequest: 200,
15+
limitPerRequest: 20,
1616
}
1717
),
1818
})

playgrounds/geo-javascript/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,9 +1414,9 @@ caniuse-api@^3.0.0:
14141414
lodash.uniq "^4.5.0"
14151415

14161416
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001219:
1417-
version "1.0.30001251"
1418-
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001251.tgz"
1419-
integrity sha512-HOe1r+9VkU4TFmnU70z+r7OLmtR+/chB1rdcJUeQlAinjEeb0cKL20tlAtOagNZhbrtLnCvV19B4FmF1rgzl6A==
1417+
version "1.0.30001283"
1418+
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001283.tgz"
1419+
integrity sha512-9RoKo841j1GQFSJz/nCXOj0sD7tHBtlowjYlrqIUS812x9/emfBLBt6IyMz1zIaYc/eRL8Cs6HPUVi2Hzq4sIg==
14201420

14211421
caseless@~0.12.0:
14221422
version "0.12.0"

playgrounds/html/public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
const search = instantsearch({
2828
indexName: "steam-video-games",
2929
searchClient: instantMeiliSearch(
30-
"https://demos.meilisearch.com",
30+
"https://integration-demos.meilisearch.com",
3131
"dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25"
3232
)
3333
});

playgrounds/javascript/src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { instantMeiliSearch } from '../../../src/index'
33
const search = instantsearch({
44
indexName: 'steam-video-games',
55
searchClient: instantMeiliSearch(
6-
'https://demos.meilisearch.com',
6+
'https://integration-demos.meilisearch.com',
77
'dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25',
88
{
99
limitPerRequest: 30,

playgrounds/react/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import './App.css'
1717
import { instantMeiliSearch } from '../../../src/index'
1818

1919
const searchClient = instantMeiliSearch(
20-
'https://demos.meilisearch.com',
20+
'https://integration-demos.meilisearch.com',
2121
'dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25',
2222
{
2323
paginationTotalHits: 60,

playgrounds/vue/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default {
8484
return {
8585
recommendation: '',
8686
searchClient: instantMeiliSearch(
87-
'https://demos.meilisearch.com',
87+
'https://integration-demos.meilisearch.com',
8888
'dc3fedaf922de8937fdea01f0a7d59557f1fd31832cb8440ce94231cfdde7f25'
8989
),
9090
}

0 commit comments

Comments
 (0)