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

Implement search #24

Open
vgwidt opened this issue Feb 10, 2023 · 1 comment
Open

Implement search #24

vgwidt opened this issue Feb 10, 2023 · 1 comment

Comments

@vgwidt
Copy link
Owner

vgwidt commented Feb 10, 2023

Search needs to be added for tickets and documents.

IIRC postgres searching can be a bit difficult with CJK languages. Plugins are needed in order to separate words. I may just do a simple like/wildcard search for now, though it will come at a performance cost.

@vgwidt
Copy link
Owner Author

vgwidt commented Feb 22, 2023

Ticket search added in 8fc14ae. It just adds another field to the filter, and if set and not "", the backend will search title and description fields. I wanted to make search a different API completely, but it was convenient do re-use the existing filtering and pagination used for the indexing endpoint. If I refactor that I could have a separate search endpoint. But I think that may be used for more broad searching.

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