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

Phrase searching for search within #5787

Open
6 tasks
elynema opened this issue Apr 16, 2024 · 0 comments
Open
6 tasks

Phrase searching for search within #5787

elynema opened this issue Apr 16, 2024 · 0 comments

Comments

@elynema
Copy link
Contributor

elynema commented Apr 16, 2024

Description

Aviary automatically assumes a multi-term search entered in the search within context. Do we need to support phrase searching using quotes for the search within functionality on the media object page in Avalon?

This will depend on how Solr is queried.

Search will split terms on whitespace and search for individual terms in the transcript by default. Phrase searching could be possible using the highlighting feature in Solr, but not with term counts used in normal searching.

The handling of this will depend on how things go with the existing functionality. It may not be a hard requirement but will be something easier to move forward with when we see it in action.

Questions

  • How is the query sent to Solr?
  • Is the default sufficient?
  • What are the cases where things could break?
  • What are we sending as escaped or sanitized input?
  • What are the use cases? How might someone do search within, like searching for a phrase vs searching for two words in a transcript?
  • Gather examples of use cases to help fleshing this ticket out
  • [ ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant