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

Searching for multi-word keywords fails #670

Closed
JackKelly opened this issue Jan 14, 2016 · 6 comments
Closed

Searching for multi-word keywords fails #670

JackKelly opened this issue Jan 14, 2016 · 6 comments
Assignees

Comments

@JackKelly
Copy link

First off: thanks so much to everyone who has worked on JabRef. It's an awesome tool!

If I do a search like keywords=building then this works fine. But I cannot seem to use multi-word search terms. None of the following searches return any results, despite the fact that I definitely have a bunch of entries which have building management as one of their keywords:

  • keywords="building management"
  • keywords='building management'
  • keywords=building management
  • keywords=(building management)
  • keywords=\"building management\"
  • keywords=\'building management\'

If I enclose even single-word search terms in quotes then this also fails. e.g. keywords="building" or keywords='building'.

The best I can do is search for "building management" (i.e. exclude keywords=) but, of course, this returns results where building management is in any field.

I'm using JabRef 3.2 on Ubuntu 15.10 x64 and OpenJRE 8.

@oscargus
Copy link
Contributor

What about keywords=building and keywords=management? At least as a temporary workaround. Or the regexp keywords = building\smanagement?

@JackKelly
Copy link
Author

ah, great, both of those solutions work, thank you so much :)

@stefan-kolb
Copy link
Member

@simonharrer What do you think about this?

@JackKelly
Copy link
Author

nice work, thank you :)

(I haven't run the new code yet - I'll probably wait until the next release).

@tobiasdiez
Copy link
Member

What is now the correct way to search for the keyword "building management" versus search for entries having keywords "building" and "management" ?

@simonharrer
Copy link
Contributor

keywords="building management" vs keywords=building and keywords=management

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

5 participants