DOI-USGS / DOI-USGS/sbtools

Document Lucene queries in query_sb()

Open
#236 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
24
Forks
20
PR merge metrics
No merged PRs in 30d

Description

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:
```r
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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.