This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const configurationOptions = { | |
| // ... | |
| autocompleteQuery: { | |
| suggestions: { | |
| types: { | |
| documents: { | |
| // Which fields to search for suggestions. | |
| fields: ["name"] | |
| }, | |
| // How many suggestions appear. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ... | |
| <Layout | |
| // ... | |
| header={<SearchBox autocompleteSuggestions={true} />} | |
| /> | |
| // ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| /** | |
| * Install: | |
| * | |
| * Download this file and give it executuable persmissions | |
| * | |
| * Usage: | |
| * | |
| * Uploading documents |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useEffect, useState } from 'react' | |
| import PropTypes from 'prop-types' | |
| import styled, { withTheme } from 'styled-components' | |
| import { withSearch } from '@elastic/react-search-ui' | |
| import _get from 'lodash/get' | |
| import Slider from 'rc-slider' | |
| import 'rc-slider/assets/index.css' | |
| import { FacetContainer, FacetHeader } from './SearchFacet' |
OlderNewer