Hi,

I was able to connect to SOLR using ssh forwarding from putty.

I tried to query SOLR using following url

http://localhost:8080/solr/search/select?q=search.resourcetype:2&sort=dc.date.accessioned_dt%20desc

The error I got is, unknown type search.resourcetype
------
HTTP Status 400 - undefined field search.resourcetype
type Status report
message undefined field search.resourcetype
description The request sent by the client was syntactically incorrect 
(undefined field search.resourcetype).
-------

Is the documentation in https://wiki.duraspace.org/display/DSPACE/Solr  is for 
Dspace 1.7 onwards ?

Is there any way to query SOLR in 1.6.2 ?

Thanks
Kirti

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of helix84
Sent: 24 October 2012 13:12
To: Kirti Bodhmage
Cc: [email protected]
Subject: Re: [Dspace-tech] Dspace statistics--where is download information

Hi Kirti,

you're right, the download count is only in the Solr index ("statistics" core), 
not in DB. Additionally, the data about items (file name, collection name, 
author) is also in Solr, albeit in a different core ("search"). Therefore I 
recommend you to combine these two sources to get the results you need. It may 
sound intimidating at first, but querying Solr is really easy once you grasp 
the basics. The sole purpose of Solr is to be queried easily! I've written up 
some basic information on Solr in DSpace here:


https://wiki.duraspace.org/display/DSPACE/Solr

There are not many examples yet, but you can derive the specific things you 
need by looking at the admin interface, also mentioned there. If you get it 
working, make sure to add your use case there as an example!

PS The only other source where you could find download statistics is log files.

Regards,
~~helix84


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to