Hi Rufus,

In DSpace 5.x or 6.x, the DSpace REST API doesn't support searching (it only 
supports basic browsing and CRUD activities).  However, if your Solr backend is 
accessible, Solr has its own REST API capable of being searched (but it isn't 
aware of the DSpace object model obviously).

Here's info on the DSpace 6 REST API features: 
https://wiki.lyrasis.org/display/DSDOC6x/REST+API

In the upcoming DSpace 7.x release, the REST API supports searching across 
multiple fields (or using multiple filters). It supports any query that is a 
valid Lucene/Solr query.  See the early 7.x REST API docs at 
https://github.com/DSpace/Rest7Contract/blob/master/search-endpoint.md#matching-dspace-objects-search-results

Tim
________________________________
From: [email protected] <[email protected]> on 
behalf of Rufus <[email protected]>
Sent: Sunday, February 23, 2020 7:15 AM
To: DSpace Community <[email protected]>
Subject: [dspace-community] Searching with REST / two metadata fields

Hi everyone,

is it possible to search on a DSpace repository with REST, using two metadata 
fields simultaneously? Or do I have to put each query separately?

Thanks in advance,

Rufus



--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/99a4f101-25f7-445f-ae08-9705b6348068%40googlegroups.com<https://groups.google.com/d/msgid/dspace-community/99a4f101-25f7-445f-ae08-9705b6348068%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/DM5PR2201MB11489642805C76DF9AE645D5EDEC0%40DM5PR2201MB1148.namprd22.prod.outlook.com.

Reply via email to