Skip to content

Commit

Permalink
Make search queries sortable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurélien FOUCRET committed May 15, 2018
1 parent 73a84b9 commit cdf4c05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/module-elasticsuite-tracker/etc/elasticsuite_indices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
<!-- Page data (searches) -->
<field name="page.search.query" type="string">
<isSearchable>true</isSearchable>
<isUsedForSortBy>true</isUsedForSortBy>
</field>
<field name="page.search.is_spellchecked" type="boolean" />

Expand Down Expand Up @@ -123,6 +124,7 @@
<field name="category_view" type="integer" />
<field name="search_query" type="string">
<isSearchable>true</isSearchable>
<isUsedForSortBy>true</isUsedForSortBy>
</field>
<field name="product_sale" type="integer" />
<field name="category_sale" type="integer" />
Expand Down

0 comments on commit cdf4c05

Please sign in to comment.