Skip to content

Special Chars for Fulltext Search#103

Merged
4 commits merged intodevelopfrom
DATAUP-734-test-escape-chars
Mar 21, 2022
Merged

Special Chars for Fulltext Search#103
4 commits merged intodevelopfrom
DATAUP-734-test-escape-chars

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Mar 18, 2022

  • I updated the README.md docs to reflect this change.

For changes to the codebase:

  • I have written tests to cover this change.
  • This is not a breaking API change OR
  • This is a breaking API change and I have incremented the API version and added a summary to CHANGELOG.md.

The FULLTEXT search has some special escape characters, e.g., ,, +, -, |, :, ", '. Add some tests for any special character that has not already been tested and exists in a ncbi_taxon sciname. (Note this is a bare minimum test, because the search could behave differently within a vaster collection of scinames, and depending on the syntax context of the special escape char.)

@ghost ghost requested a review from ialarmedalien as a code owner March 18, 2022 01:06
Comment thread spec/test/stored_queries/test_fulltext_search.py Outdated
Comment thread spec/test/stored_queries/test_fulltext_search.py
@ghost ghost merged commit 1cd55bf into develop Mar 21, 2022
@ghost ghost deleted the DATAUP-734-test-escape-chars branch March 21, 2022 21:12
This pull request was closed.
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

Successfully merging this pull request may close these issues.

1 participant