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

Search API with keys also in OR #50

Open
filgiuff opened this issue May 24, 2019 · 1 comment
Open

Search API with keys also in OR #50

filgiuff opened this issue May 24, 2019 · 1 comment

Comments

@filgiuff
Copy link

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.

@martinomaggio
Copy link
Collaborator

We are analysing which is the best way to manage the search parameters. A solution will be provided in the next release.

digrazia2038 added a commit to digrazia2038/Idra that referenced this issue Feb 28, 2022
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

2 participants