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
project search exclude #43
Comments
Ok I have two approached possible for this ticket:
|
This might prove to be an interesting third option: http://www.postgresql.org/docs/8.3/static/textsearch-intro.html#TEXTSEARCH-MATCHING |
Well, isn't the question here about being able to do exact match search rather than text search? |
Yes. But textsearch might be a more flexible method for specifying searches (and it might return results in a nicer order). |
Ever played with textsearch? In sqlalchemy? There seems to be some support: http://docs.sqlalchemy.org/en/latest/dialects/postgresql.html#full-text-search |
So I guess there are two issues here:
|
I just did some testing of using
|
What is the first result? is it 'python'? :) |
In both case it's not (after removing the order_by constraint) |
Bummer. I was hoping textsearch would provide the "best" match first like xapian does. |
wanted to search for "ruby" package (the ruby language), the pattern was modified to be "ruby*"
and they gave me 11 pages of rubygems, tried exclude with minus, that gave nothing:
https://release-monitoring.org/projects/search/?pattern=ruby*+-rubygems
please implement some advanced filtering or exact match
The text was updated successfully, but these errors were encountered: