Skip to content

Add keyword search to the search form #56

@anandaroop

Description

@anandaroop

A user should be able to enter a free-form text query.

Based on the work in https://github.com/artsy/gravity/pull/10867 let's investigate adding a free-text keyword field to the search form.

From that PR:

This adds support to the /api/v1/filter/artworks endpoint for a deeper term search across name, genes, tags, and auto_tags fields. This allows us to perform keyword queries across multiple genes/tags/auto-tags simultaneously using free-form natural language phrases - searches like 'portrait painting', 'steel sculpture', 'latin american sculpture', 'digital video' or even literal phrases like 'person on a beach' or 'painting of a child'. It won't allow artist name searches, which I suspect we'll see in the wild, but I can follow up to add this if need be.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions