Skip to content

Commit 55e01c8

Browse files
committed
Improve docs
1 parent b1c6d48 commit 55e01c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,15 +330,15 @@ defined under the custom_fields key.
330330
Using pre-defined fields is optional, but default [Search UI](https://github.com/AddSearch/search-ui) components
331331
display them by default, so they give you visible results faster.
332332

333-
Pre-defined fields are: url, title, h1, h2, language, title, main_content, and meta_description.
333+
Pre-defined fields are: url, title, and main_content.
334334

335335
Example document:
336336
```js
337337
const doc = {
338338
id: '1234',
339339
url: 'https://www.example-store.com/product-x',
340340
title: 'Example product',
341-
language: 'en',
341+
main_content: 'Lorem ipsum',
342342
custom_fields: {
343343
'name': 'Example product',
344344
'description': 'Description for the example product',

0 commit comments

Comments
 (0)