On Thu, Apr 6, 2017 at 5:23 AM, Gary Browne <[email protected]>
wrote:
> Is there a way I can query Solr to give me information about submitted
> items. eg. how many items submitted in a given period. I'm imagining
> something using date.accessioned but I've been unable to get any queries
to
> work.

You can start from the example on the statistics index:

https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Statistics:breakdownofdownloadspermonth

Change the core to search (where dc.date.accessioned is stored), change the
query to ask for items and the facet field to query dc.date.accessioned_dt
(*_dt fields are the date types which can be faceted like dates; if in
doubt, check the Schema Browser for a particular core in the Solr Admin UI
or its schema.xml file).

I added the new example here:

https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Breakdownofsubmitteditemspermonth


> are there any other documents with more Solr query examples - I'm finding
> there isn't enough explanation of parameters for me to work out how to use
> what and when?

Description of Solr parameters are not specific to DSpace, so I'm referring
to Solr documentation. Please, check it out:

"Using the knowledge of particular fields from Solr Admin and Solr syntax (
SolrQuerySyntax <http://wiki.apache.org/solr/SolrQuerySyntax>,
CommonQueryParameters <http://wiki.apache.org/solr/CommonQueryParameters>)
you can make your own search requests. You can also read a brief tutorial
<http://www.solrtutorial.com/solr-query-syntax.html> to learn the query
syntax quickly."


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
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 [email protected].
To post to this group, send email to [email protected].
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