-
Notifications
You must be signed in to change notification settings - Fork 187
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
Search: Confusing behaviors #6366
Comments
searching for
the explicit field search exists because we need to have different field searches, for example: |
i agree, it is (or could be) confusing, but as explained above, 99% of all users will only use the search as they do in google, type and expect the result. same for the google engine (even if it is slightly more powerful ;) ), they have the default search but you're able to search for dedicated fields (advanced search): this is why we've decided to use a wildcard (prefix, suffix) search here. The downside is that those wildcard searches cost more time then a explicit search. long term i hope we adopt the ios query syntax: owncloud/ios-app#933 |
Fixes part of owncloud#6366
With #6371 we are changing the field queries in complex searches to also be case insensitive like simple searches, fixing much of the confusing behavior you saw: Placeholders
Upper-/LowercaseBoth Inconsistent usage of upper/lowercase in combination with placeholder
The issues that are still left are Highlighting of resultsI think we're currently not using the search engine's highlight capabilities but web does the highlighting. So this would either need to be fixed by web or we'd have to switch over to rely on the search engine to mark the highlighted parts in the returned results. Unknown files appearThat one's not quite clear yet. I think it might actually be two problems: The reason that Alice gets those json files (which are GDPR reports) as results for the That also explains why you don't see those export files with neither the The export files Bob sees are likely (hopefully!) different files. Maybe you could verify that by downloading and comparing the content of the files or by comparing their URLs. What's not clear to me is why Alice's export results take her to the |
Fixes part of owncloud#6366
Topic "Unkown files appear" seems to be partly resolved. The space, which did not appear, was required to renew the shares because of a reverse index problem on rc2/3. |
I think that one makes sense to me. Your search term |
Ok. We consider it as fixed. |
While playing around with the search (based on #6343), we came across some difficulties. Maybe it's not all bugs, but it seems confusing at some points.
Difference between test and Name:test
As far as I understood, no prefix will search for file and folder names.
Prefixing Name: will also do a search for file and folder names.
Where is the difference for the user?
Compare searching for test and Name:test
test finds “test.txt”, “test123.pdf and folder “test”
Name:test finds only folder “test”
While this is surely technically correct, it is rather confusing, why one appends an asterisk per default and the other one does an exact match.
I was expecting Name:test would show also “test.txt”, “test123.pdf” and folder “test”
Placeholders
Name:Deutsch finds folder “Deutsch”
Name:Deutsch* finds nothing
Might correspond to the upper/lowercase scenario below. Changing the search term to lowercase Name:deutsch shows correct results. Still confused about two different outcomes.
Upper-/Lowercase
Lowercase shows case-insensitive results. Works as expected:
VS. Uppercase - shows nothing?!
Highlighting of results
Search results are not always highlighted.
Highlighted:
not highlighted:
Inconsistent usage of upper/lowercase in combination with placeholder
Imagine an existing tag “intern”, at least on file, is marked with that tag.
Tags:intern works
Tags:inter* works -> cool, I can use placeholders within tags
Tags:InTeRn works --> cool, search is case-insensitive
Tags:InTe* does not work - ?!
! simple mode search works as expected and does not make a difference between test* and TEst*
Unknown files appear
Note: Logged in as Alice
#6343 tells me:
Result:
export
in my personal space../export.json
) Clicking on the folder name (Personal
) below leads me to a broken "Shared with me" page:EXCEPT the json files are not located in
personal
anymore, but in a space calledSommerfest 2024
. And there they really are:Logging in back with Alice, the space does not appear in her space overview. Therefore she shouldn't have access to those files.
Logging back in with Bob. Go to the space and check members. I can see that Alice is member of this space via a group.
Summary:
editor
The text was updated successfully, but these errors were encountered: