Js Search enables efficient client-side searches of JavaScript and JSON objects.
Questions tagged [js-search]
4 questions
1
vote
0 answers
How to resume JS-Search result?
I'm using JS-Search to client-side search on GatsbyJS, I have a page of documentation with a lot of sections and some section has long text.
when I make a search the result is the text of the section with highlight marks on matches words
I would…

Yoandry Collazo
- 1,122
- 9
- 16
0
votes
1 answer
How to customize searchable fields with selector in gridjs
In gridjs there is an the example of using selector in search field.
const grid = new Grid({
columns: [
{
name: 'Name',
formatter: (cell) => cell.firstName
},
'Email',
'Phone Number'
],
search: {
selector: (cell,…

garej
- 508
- 1
- 8
- 24
0
votes
1 answer
Gatsby/Axios: Trying to use js-search, axios doesnt use given JSON-response
The code trying to fetch data:
class Search extends Component {
state = {
bookList: [],
bookk: "",
search: [],
searchResults: [],
isLoading: true,
isError: false,
searchQuery: "",
}
/**
* React lifecycle method…

Lars Vidar Amundsen Lien
- 25
- 1
- 5
0
votes
1 answer
Build an index in a Node app using Js Search
I want to create a Js Search index in a Node app, then use this index in a client-side JavaScript app.
It's not clear to me from the README or the benchmark code how to do this.
I've tried this:
// docs is an array of objects, each with a name,…

Sam Dutton
- 14,775
- 6
- 54
- 64