angeloashmore / gatsby-plugin-local-search

Gatsby plugin for providing client-side search for data available in Gatsby's GraphQL layer using a variety of engines
MIT License
51 stars 29 forks source link

Add `index` option alongside `store` #5

Closed angeloashmore closed 4 years ago

angeloashmore commented 5 years ago

Add an index option that lives alongside store that, similar to store, allows one to select which fields are indexed.

By default, index is all keys returned by normalizer.

This effectively turns normalizer into a data normalizer where content can be selected. This allows someone to keep data in the store, but not indexed, if such data is only used for presentation.

angeloashmore commented 4 years ago

This is completed in #13 and v1.1.0.