Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Search API endpoint #175

Open
1 task
TeddyCr opened this issue Jun 30, 2019 · 1 comment
Open
1 task

Create Search API endpoint #175

TeddyCr opened this issue Jun 30, 2019 · 1 comment

Comments

@TeddyCr
Copy link
Contributor

TeddyCr commented Jun 30, 2019

Context

Engage is working on developing a search functionality to improve the UI experience of its user. We'll use elastic search to enable users to narrow down agenda items to a specific topic.

Links

Dependencies

To-Dos

  • Create backend API endpoint to query and search indexed agenda items*.

*backend endpoint should be added to the backend.engage.town/api/.... part of the site.
The API endpoint should accept search terms passed by the client ([...].engage.town), send a structured request to the Elasticsearch search endpoint and return the response from the Elasticsearch endpoint.

Elasticsearch search endpoint request body

{
    "query": {
        "multi_match": {
            "query": "my search term",
            "type": "most_fields",
            "fields": ["meeting_title^2", "meeting_recommendations", "meeting_body"],
            "fuzziness": "AUTO"
        }
     }
}

New to the Project?

Check out our product documentation repo.

@TeddyCr TeddyCr changed the title Create querying and search flow for Elasticsearch Create query and search flow for Elasticsearch Jun 30, 2019
@eselkin
Copy link
Contributor

eselkin commented Jul 18, 2019

The nice thing about elastic search is you can open the querying up to the world and only have adding locally accessible. That way you don't need a backend endpoint, just the HTTP queries to elasticsearch.

@TeddyCr TeddyCr assigned TeddyCr and unassigned eselkin and kaelancotter Jul 29, 2019
@TeddyCr TeddyCr changed the title Create query and search flow for Elasticsearch Create Search API endpoint Oct 25, 2019
@TeddyCr TeddyCr assigned eselkin and unassigned TeddyCr Dec 4, 2019
@github-project-automation github-project-automation bot moved this to Prioritized Backlog in Engage Project Management Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Prioritized Backlog
Development

No branches or pull requests

4 participants