Skip to content

Document Lucene queries in query_sb() #236

@lindsayplatt

Description

@lindsayplatt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions