Skip to content

allow conjunction in FTS queries #421

@VladimirAlexiev

Description

@VladimirAlexiev

It'd be extremely useful to allow conjunction (AND) in FTS queries.
Eg I'm looking for all FP7-NMP papers (there should be about 3-8k in CrossRef).
CrossRef's FTS always uses disjunction, no matter which modifiers I try. I've tried these

Since it's based on SOLR I expected it would support the Lucene query language. It's strange since #400 suggests that such modifiers are passed to SOLR uncensored.

#377 basically asks for the same capability. A suggestion there "results closest to the search should appear at the top of the list" is not bad, but I need all the papers, so is there any "guarantee" that the boundary between relevant and not-relevant publications will be sharp?

PS: I know about funder search, eg

OpenAIRE search by funding line finds 8.5k pubs: https://explore.openaire.eu/search/advanced/publications?&funderlv2=%22ec__________%3A%3AEC%3A%3AFP7%3A%3ASP1%3A%3ANMP%22&fn0=and

Activity

VladimirAlexiev

VladimirAlexiev commented on Oct 23, 2018

@VladimirAlexiev
Author

This from the documentation provided a brief glimpse of hope: "Field queries can be combined with the general query paramter and each other. Each query parameter is ANDed with the others".
But http://api.crossref.org/v1/works?query=fp7&query=nmp returns java.lang.ClassCastException, and there's no query.funder

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @VladimirAlexiev@ppolischuk@pdavis8

      Issue actions

        allow conjunction in FTS queries · Issue #421 · CrossRef/rest-api-doc