{"_id":"@10up/frontity-elasticpress","_rev":"8-29bad2bd12c81e6e3b694904c60b6273","name":"@10up/frontity-elasticpress","dist-tags":{"latest":"0.9.0"},"versions":{"0.9.0":{"name":"@10up/frontity-elasticpress","version":"0.9.0","keywords":["elasticpress","frontity","frontity-elatiscpress","wordpress"],"license":"MIT","_id":"@10up/frontity-elasticpress@0.9.0","maintainers":[{"name":"tlovett1","email":"tlovett88@gmail.com"},{"name":"joesnellpdx","email":"joesnellpdx@gmail.com"},{"name":"nicholasio","email":"nicholasio.oliveira@gmail.com"},{"name":"christianc1","email":"christian.m.chung@gmail.com"},{"name":"timwright12","email":"timwright12@gmail.com"},{"name":"brandwaffle","email":"vhauri@gmail.com"},{"name":"eugene-manuilov","email":"eugene.manuilov@gmail.com"}],"homepage":"https://www.elasticpress.io/","bugs":{"url":"https://github.com/10up/frontity-packages/issues"},"dist":{"shasum":"3a7d9eed093918d9e914007a0101b9eec0c2c1dc","tarball":"https://registry.npmjs.org/@10up/frontity-elasticpress/-/frontity-elasticpress-0.9.0.tgz","fileCount":14,"integrity":"sha512-i4lUsaO6RtcHSVNYsF0KKSV43LPFn9vFkE/JCCDlxb3i9XB2uxIjqRbDsuocDMU+YG2ct8qhPYx1Ru0lxrNvog==","signatures":[{"sig":"MEQCIGo/jBH45z5hNWRbsXpIF2qRPbAj+Jv1+vAvfCWp/JMIAiAD2m7ziDKfI32GYla10FTi+CzXJLgXRY7sIKORqT0spA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":904364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhdZKCRA9TVsSAnZWagAAgr4P/Rc/2hxMULW4FMsPyGU8\nuCKsXKV0eBve9oV9ugZfucONuecwcak+R4+FRT846impopJSj9HcGL0rwSGD\nMM2P/itVEr22LC84E0O/kq+Hao0mWqB4cgMEI7dfLPK/x+J00iUy4Mhzo6Us\nQ8WqOOBXK1i8fhBoi7Munyhhv2KqlIfSZ8b2libgWGahwds9j2u1hl0sIPyi\nTXP7R4cNcKBg8DSzgtA/CBdMjVNIQYflPhQmdhzTYxIFT+tfRTAXIO9j14Fd\na6IgRi8F41Fxy4ETRzURLU99z8kPgpy5Dhs0mViY1bAH0cXELUXDlt7jHMvo\nXMHNveZ7oynrB2zUXTfpFmlGd6uFg2fOi815+lQ/ZB8QFsuwfP6vrBrhYgxn\nFa3MEGW1M3wwYeI2JiQ5Wg8XBbeNCLR8Pfs2Gv4+0e1Y7rwvycKZcDl54yVp\nUzF07T1MjSj+QcsxcuSom3NFamkSsZFDzQOpt98JoNbezCc/Akb50oVjsyPQ\nb1QJP/Rk4rSZu88vGlRn2CSiPOmLM39v+2i1nt1LBis9A6P5Vw2T7mCgpnun\nUAb/Tap0w8R505IQ801yW8qF+4qS8G6UgT2iKV5vby+ZucXQmmPsPfj9v9/i\nkOGG73B+o7qy2PlAMU8oz3qFJ56xo8SWKxbt/6f8CibHiOWnVREh0mUs+TpV\npEra\r\n=71TK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.ts","scripts":{"test":"../../node_modules/.bin/jest --watch","test:ci":"../../node_modules/.bin/jest --ci --coverage","test:inspect":"node --inspect ../../node_modules/.bin/jest --watch --no-cache --runInBand"},"_npmUser":{"name":"nicholasio","email":"nicholasio.oliveira@gmail.com"},"repository":{"url":"git+https://github.com/10up/frontity-packages.git","type":"git"},"_npmVersion":"6.14.6","description":"Official ElasticPress integration for Frontity","directories":{},"_nodeVersion":"12.18.4","dependencies":{"frontity":"^1.11.1","@frontity/router":"1.1.1","@frontity/source":"1.3.0","@frontity/wp-source":"^1.8.4","@10up/elasticpress-react":"^2.0.0-rc.5"},"_hasShrinkwrap":false,"devDependencies":{"@testing-library/react":"^10.4.7","@testing-library/jest-dom":"^5.11.1"},"_npmOperationalInternal":{"tmp":"tmp/frontity-elasticpress_0.9.0_1602606666214_0.32769125280178635","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-10-13T16:31:05.973Z","modified":"2026-08-21T19:38:55.442Z","0.9.0":"2020-10-13T16:31:06.342Z"},"bugs":{"url":"https://github.com/10up/frontity-packages/issues"},"license":"MIT","homepage":"https://www.elasticpress.io/","keywords":["elasticpress","frontity","frontity-elatiscpress","wordpress"],"repository":{"url":"git+https://github.com/10up/frontity-packages.git","type":"git"},"description":"Official ElasticPress integration for Frontity","maintainers":[{"email":"mail@fabian-kaegy.de","name":"fabiankaegy"},{"email":"eugene.manuilov@gmail.com","name":"eugene-manuilov"},{"email":"christian.m.chung@gmail.com","name":"christianc1"},{"email":"nicholasio.oliveira@gmail.com","name":"nicholasio"},{"email":"joesnellpdx@gmail.com","name":"joesnellpdx"},{"email":"devin.leggett@gmail.com","name":"devinle"},{"email":"daryll.doyle@10up.com","name":"darylldoyle"},{"email":"jeffpaul@hotmail.com","name":"jeffpaul"}],"readme":"# @10up/frontity-elasticpress\n\n> This package enhances your frontity theme by supercharing the search experience with ElasticPress.\n\n[![Support Level](https://img.shields.io/badge/support-active-green.svg)](#support-level)\n\n![](screenshots/search.gif)\n\n## Requirements\n\n* Elasticsearch per [ElasticPress requirements](https://github.com/10up/ElasticPress#requirements).\n* WordPress website running [ElasticPress](https://elasticpress.io).\n\n## Installation\n\nTo install this package you will need an existing frontity project. Check out the [frontity docs](https://docs.frontity.org/getting-started/quick-start-guide) for instructions.\n\nInstall this package:\n\n```\nnpm install @10up/frontity-elasticpress --save\n```\n\nThen in your `frontitiy.settings.[js|ts]` add the configuration for ElasticPress in the `packages` section.\n\n```js\n\t\t{\n\t\t\tname: '@10up/frontity-elasticpress',\n\t\t\tstate: {\n\t\t\t\telasticpress: {\n\t\t\t\t\tnode: 'http://elasticpress.test/__elasticsearch',\n\t\t\t\t\tindexName: 'elasticpresstest-post-1',\n\t\t\t\t\tloadInitialData: true,\n\t\t\t\t},\n\t\t\t},\n\t\t},\n```\n\nThat's all you need.\n\n## How it works\n\nThis packages replaces the default search handler with a custom one that runs search queries in ElasticSearch index directly instead of WordPress.\n\nIn addition to better search results this also allow you to have real-time search results as you type. See an example [here](https://github.com/10up/frontity-packages/blob/develop/packages/twentypress/src/components/search/search-modal.js#L106).\n\n## Disclaimer\n\nYou need to ensure your ElasticSearch index is not fully exposed to the public. You most likely want to add some layer around your ElasticSearch index to lock down your index to avoid unwanted queries or requests.\n\nCheck out [ElasticPress.io](https://www.elasticpress.io/) for a secure ElasticSearch service that was built for ElasticPress.\n\n\n## Like what you see?\n\n<a href=\"http://10up.com/contact/\"><img src=\"https://10updotcom-wpengine.s3.amazonaws.com/uploads/2016/10/10up-Github-Banner.png\" width=\"850\" alt=\"Work with us at 10up\"></a>\n","readmeFilename":"README.md"}