Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Fanny DECLERCK committed Oct 24, 2018
1 parent 8413e22 commit 08d6dcd
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,70 @@ The module requires :

``` bin/magento index:reindex elasticsuite_cms_page_fulltext ```


### How to configure

> Stores > Configuration > Elasticsuite > CMS settings > Settings
* Max result : Maximum number of results to display in result block.

> Stores > Configuration > Elasticsuite > Autocomplete > Cms page Autocomplete
* Max size : Maximum number of cms pages to display in autocomplete results.

### Fields indexed

Field | Type
--------------------|-----------
page_id | Integer
title | Varchar
page_layout | Varchar
meta_keywords | Text
meta_description | Text
identifier | Integer
content_heading | Text
content | Text
creation_time | DateTime
update_time | DateTime
is_active | Integer
sort_order | Integer
layout_update_xml | Text
custom_theme | Integer
custom_root_template| Integer
custom_layout_update| Text
custom_theme_from | DateTime
custom_theme_to | DateTime
meta_title | Text
is_searchable | Integer
store_id | Integer

Index example :
```
{
"_index" : "magento2_fr_cms_page_20181024_064926",
"_type" : "page",
"_id" : "5",
"_score" : 1.0,
"_source" : {
"page_id" : "5",
"title" : "About us",
"page_layout" : "1column",
"meta_keywords" : "",
"meta_description" : "",
"identifier" : "about-us",
"content_heading" : "About us",
"content" : "<div class=\"about-info cms-content\">\n <p class=\"cms-content-important\">With more than 230 stores spanning 43 states and growing, Luma is a nationally recognized active wear manufacturer and retailer. We’re passionate about active lifestyles – and it goes way beyond apparel.</p>\n\n >\n",
"creation_time" : "2017-03-21 16:59:21",
"update_time" : "2018-10-24 06:45:28",
"is_active" : "1",
"sort_order" : "0",
"layout_update_xml" : "",
"custom_theme" : null,
"custom_root_template" : null,
"custom_layout_update_xml" : "",
"custom_theme_from" : null,
"custom_theme_to" : null,
"meta_title" : "",
"is_searchable" : "1",
"store_id" : "0"
}
}
```

0 comments on commit 08d6dcd

Please sign in to comment.