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

Feature/correct word with punctuation is not searchable #8

Open
wants to merge 7 commits into
base: development
Choose a base branch
from

Conversation

brijm-improwised
Copy link
Collaborator

@brijm-improwised brijm-improwised commented Oct 2, 2024

#5

Fixes Issue : word with punctuation should be searchable

Changes proposed

  • Add the all possible punctuation with word in query in WhereRaw for word with punctuation should be searchable
  • Add test for checking word with punctuation should be searchable

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

$output = $search->baseResponse->original['entities'];

foreach ($output as $value) {
if(!(strpos($value->text,'green-ocean') || strpos($value->name,'green-ocean')))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brijm-improwised Test case is just checking happy path for -. You should check for @ , / also

…and then search for word and also add more option of punctuation to test
…into feature/correct-word-with-punctuation-is-not-searchable
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.

2 participants