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

Document Lucene queries in query_sb() #236

Open
lindsayplatt opened this issue Jul 5, 2017 · 0 comments
Open

Document Lucene queries in query_sb() #236

lindsayplatt opened this issue Jul 5, 2017 · 0 comments

Comments

@lindsayplatt
Copy link
Contributor

Lucene queries are available, though not correctly documented in ?query_sb - it's lq, not q. Also, lucene queries only work when a regular query is also defined, but it should work even if there isn't a q in the query_list.

Ex:

length(query_sb(query_list=list(lq='flood AND earthquake'), limit=100))
[1] 0
length(query_sb(query_list=list(q='', lq='flood AND earthquake'), limit=100))
[1] 62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant