Skip to content

Refactor searchtext handling in set_default_search_operator#94

Open
gac-ansa wants to merge 1 commit into
superdesk:release/2.11from
gac-ansa:gac-ansa-patch-search-1
Open

Refactor searchtext handling in set_default_search_operator#94
gac-ansa wants to merge 1 commit into
superdesk:release/2.11from
gac-ansa:gac-ansa-patch-search-1

Conversation

@gac-ansa

Copy link
Copy Markdown
Collaborator

Modification to correctly handle the tokenisation of searches in the photo archive with particular attention paid to treating the apostrophe as a word-joiner rather than a token separator and to keep double-quoted searches for exact matches.

Also fix an issue that may occur if the logical operators AND and OR were used incorrectly in searches (if they appeared uppercase in the search text inside the query).

Refactor to correctly handle the tokenisation of searches in the photo archive, with particular attention paid to treating the apostrophe as a word-joiner rather than a token separator
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