* indexing records into Elasticsearch * @elastic/elasticsearch@8.2.0 * mv * fix the code * pipe * lfs * use sha * change how index names work * search api with Elasticsearch * works * refactor client * better snowballing * remove dbg * wip * highlights and fuzzy search * improvements and upgrade * also upgrade * wip * index more explicitly * better validation * change max size * popularity by ordinal ranking instead * playing * fix package-lock * rearranging * catchMiddlewareError * fix indexing * match_phrase_prefix on wrapped search * refactorings * escape html in content * wip * search by URL * update lock file * v1 api * inroads on jest testing the search * valid yaml hopefully * index fixtures into local elasticsearch * specific versions to index only * small fixes * feedbacked * fix tests * use the npm script
13 lines
280 B
JavaScript
13 lines
280 B
JavaScript
import express from 'express'
|
|
import session from './session.js'
|
|
import events from './events.js'
|
|
import search from './search.js'
|
|
|
|
const router = express.Router()
|
|
|
|
router.use('/session', session)
|
|
router.use('/events', events)
|
|
router.use('/search', search)
|
|
|
|
export default router
|