Skip to content

Add global ElasticSearch based Search #1

@mariuswilms

Description

@mariuswilms

The search should be reachable via a magnifying glass icon in the upper right portion of the screen inside the main nav.

Clicking on the icon will bring up a full screen search. The search will be "as-you-type" and JS driven so we'll need an api endpoint under /api/search. AJAX requests should be queued and cancelled to save processing power if a newer request is enqueued.

The app needs a command which will refresh the search index and which will be hooked up in config/crons.default.

We'll be using the Elastica PHP library as a dependency. The dependency will need to be added to composer.json.

The index builder will add items for:

  • li3_bot\models\LogMessages
  • li3_docs\models\Symbols
  • the manual (full pages)
  • the specs (full pages)
  • blog items via tumblr API
  • Allows indexing full web pages.
    • These can be manually provided. The title will extracted automatically from the title head tag.
    • All pages inside the website should be provided i.e. development, community.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions