Skip to content

Commit b9e3ae9

Browse files
author
Vadim Yakhin
committed
Make it so Reference UI could be used instantly without providing engine data
1 parent 402e452 commit b9e3ae9

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

src/config/engine.json.example

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
{
2-
"endpointBase": "http://127.0.0.1:3002",
3-
"engineName": "your-engine-name",
4-
"hostIdentifier": "host-XXXXX",
5-
"searchKey": "search-XXXXXXXXXXXXXXXXXXXXXXX",
6-
"searchFields": ["title", "description"],
7-
"resultFields": ["id", "title", "anotherField", "someField", "created"],
2+
"endpointBase": "https://search-ui-sandbox.ent.us-central1.gcp.cloud.es.io",
3+
"engineName": "national-parks",
4+
"searchKey": "search-nyxkw1fuqex9qjhfvatbqfmw",
5+
"searchFields": ["title", "description", "states"],
6+
"resultFields": [
7+
"id",
8+
"title",
9+
"description",
10+
"states",
11+
"visitors",
12+
"square_km",
13+
"world_heritage_site",
14+
"date_established",
15+
"image_url",
16+
"location",
17+
"acres",
18+
"nps_link"
19+
],
820
"querySuggestFields": ["title"],
921
"titleField": "title",
10-
"urlField": "url",
11-
"thumbnailField": "imageUrl",
12-
"sortFields": ["title", "anotherField"],
13-
"facets": ["anotherField", "someField"]
22+
"urlField": "nps_link",
23+
"thumbnailField": "image_url",
24+
"sortFields": ["title", "states"],
25+
"facets": ["states", "world_heritage_site"]
1426
}

0 commit comments

Comments
 (0)