Skip to content

Search API with keys also in OR #50

@filgiuff

Description

@filgiuff

I used the API /api/v1/client/search with a payload like the following:

{
	"filters": [{
		"field": "ALL",
		"value": "key1 key2"
	}],
	"live": false,
	"sort": {
		"field": "title",
		"mode": "asc"
	},
	"rows": "1000",
	"start": "0",
	"nodes": [92],
	"euroVocFilter": {
		"euroVoc": false,
		"sourceLanguage": "",
		"targetLanguages": []
	}
}

Currently the search on key1 and key2 is always done in AND, reducing the number of results.

The API should give the possibility to search also with keys in OR.

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