I'm not able to test this right now since my instance has only 20 items 
currently. I *think* that default limit is 100. But in general you can not 
trust that API will return all items. You must just make queries by 
increasing offset (offset + limit) in each round until there is no records 
left.

On Thursday, 1 September 2016 13:43:10 UTC+3, Ilja Sidoroff wrote:
>
> Hello, 
>
> I am using DSpace 5.5. 
>
> Am I correct, that SOLR queries return only items that are in 
> *collections* and not in the *workflow*? At least my search attemps 
> indicate that? 
>
> In the REST API, however, it seems that GET /items returns only 
> results that are in the collections. However, with POST 
> /items/find-by-metadata-field I can get all items in the DSpace, both 
> those in the collections and those in the workflow? 
>
> What I need, is a list of *all items* (both in the workflow and the 
> collections) that have certain metadata field set and *the value of 
> that field*. I don't see other way of doing that, except by direct SQL 
> query to the database. I have one for 5.x, but I'm not happy with it 
> since, I need to update it for 6.x etc. Is there any other way of 
> doing this? 
>
> Also, it seems that 
>
> dspace import -d -m mapfile ... 
>
> does not delete items currently in the workflow? Is this intentional or a 
> bug? 
>
> regards, 
>
> Ilja Sidoroff 
> University of Eastern Finland 
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to