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

文字列検索機能でAND・ORを使えるようにしてほしい #6160

Closed
tamaina opened this issue Mar 15, 2020 · 13 comments
Closed

文字列検索機能でAND・ORを使えるようにしてほしい #6160

tamaina opened this issue Mar 15, 2020 · 13 comments
Labels
✨Feature This adds/improves/enhances a feature

Comments

@tamaina
Copy link
Member

tamaina commented Mar 15, 2020

Summary

半ば必須かもしれない

@tamaina
Copy link
Member Author

tamaina commented Aug 27, 2021

age

@Johann150
Copy link
Contributor

I'm not sure how it could be differentiated between when I am searching for text that contains "AND"/"OR". Maybe an advanced search mode would be necessary.

@futchitwo
Copy link
Contributor

ioには色々実装されてる(ただしLIKE検索が封じされてる)
https://github.com/MisskeyIO/misskey/blob/io/packages/backend/src/server/api/endpoints/notes/search.ts

公式インスタンスであるioでは使えるのに他では使えないのはどうかと思うので、ioと同等の検索クエリはあったほうがいいと思う

@Johann150
Copy link
Contributor

The search syntax looks similar to GitHub search, interesting idea. 👍

I don't understand what the &@~ operator is supposed to do. I could not find it anywhere else in the code, or in Postgres or TypeORM documentation...

@rinsuki
Copy link
Contributor

rinsuki commented Feb 8, 2022

it comes from PGroonga? https://pgroonga.github.io/reference/operators/query-v2.html

@Johann150
Copy link
Contributor

I'm not sure PGroonga is something we could add as a dependency. But I wonder if some pieces of the search syntax could be transformed into a Postgresql style regular expression.

@tamaina
Copy link
Member Author

tamaina commented May 10, 2022

FYI: How to install PGroonga and &@~ patch: https://hide.ac/articles/DjGNSvW4G

@tamaina
Copy link
Member Author

tamaina commented May 10, 2022

Adding PGroonga as a dependency complicates the installation process.

@tamaina
Copy link
Member Author

tamaina commented May 14, 2023

PGroongaと言ってたけどGroonga単体で使ってもいいじゃんという発想をした

@tamaina
Copy link
Member Author

tamaina commented May 14, 2023

(とはいえRust製のMeilisearchのほうが現代的なのは明らか

@tamaina tamaina closed this as completed May 14, 2023
@tamaina
Copy link
Member Author

tamaina commented May 14, 2023

ORできるよね…?

@tamaina
Copy link
Member Author

tamaina commented May 14, 2023

ORできない?

@syuilo
Copy link
Member

syuilo commented May 14, 2023

できないかも

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨Feature This adds/improves/enhances a feature
Projects
None yet
Development

No branches or pull requests

5 participants