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

[WISH] fulltext search #21

Open
xanathon opened this issue Jun 10, 2020 · 5 comments
Open

[WISH] fulltext search #21

xanathon opened this issue Jun 10, 2020 · 5 comments

Comments

@xanathon
Copy link

From experience it is nesseccary to have a fulltext search option that does not only search for a term in the ticket title, but also in the ticket body.

If this is possible I found no way to do it?

@mimecorg
Copy link
Owner

Currently it's not possible. Unfortunately, implementing a decent full text search is not trivial.

@nicojmb
Copy link

nicojmb commented Jul 17, 2020

an idea is add possibility to add tags in any issue and can filter in search?

@mimecorg
Copy link
Owner

You can use multi-select dropdown attributes as tags.

@mguinness
Copy link

Unfortunately, implementing a decent full text search is not trivial.

Full text indexes are available on most RDBMS including MySQL, PostgreSQL and SQL Server.

To create an index (on MySQL) use:

ALTER TABLE issue_descriptions ADD FULLTEXT (descr_text);

To search for text (on MySQL) use the following syntax:

SELECT * FROM issue_descriptions WHERE MATCH (descr_text) AGAINST ('timeout');

For advanced searches you can use boolean mode in MySQL but that could be added at a later date.

It's not something I need right now as I've just started using the application (which is awesome btw), but I could see the benefit to search issue descriptions. I don't know PHP, but I'd be happy to help if you have any questions on the database side.

@xabikip
Copy link

xabikip commented May 16, 2022

I started using webissues and is awesome, but it would be nice implement a search capability on description field.

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

5 participants