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

Advanced Search - Filter contains works wrong #43

Closed
m1ch4ls opened this issue Apr 24, 2015 · 3 comments
Closed

Advanced Search - Filter contains works wrong #43

m1ch4ls opened this issue Apr 24, 2015 · 3 comments

Comments

@m1ch4ls
Copy link
Member

m1ch4ls commented Apr 24, 2015

At: https://ufal-point-dev.ms.mff.cuni.cz/prod/xmlui/discover

So I've tried to search for title using filter type 'contains'

Value: Prague Dependency Treebank 3.0
Value: "Prague Dependency Treebank 3.0"

will both return the same. It will somehow split the words and possibly the numbers!

The returned result is very confusing because the first is title: HindEnCorp 0.5

I would have expected it to return something similar to the result when searching through main search box. I don't know whether this should be regarded as a bug.

Full link: https://ufal-point-dev.ms.mff.cuni.cz/prod/xmlui/discover?query=&filtertype=title&filter_relational_operator=contains&filter=Prague+Dependency+Treebank+3.0&submit_search-filter-controls_add=Add&query=Prague+Dependency+Treebank+3.0

@amirkamran
Copy link

this issue should be combined with #242

@vidiecan
Copy link

vidiecan commented Jul 8, 2015

It does not work wrong but rather unintuitive
a) it splits words also on . which may seem strange with numbers
b) it uses OR by default title:(...)
c) escapes " in filters

@vidiecan
Copy link

vidiecan commented Jul 8, 2015

searching for
"Prague Dependency Treebank 3.0"
works as expected in default search so moving this issue to another milestone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants