Hi Anil,
I have another question concerning the ContentHub store.
When creating a content item you can set the title and other custom
fields called constraints.
Are these only used as query fields for Solr searches, or is there a way
to store them semantically i.e. triples in the MGraph obtained from
ContentItem#getMetadata() (which I can see that contains enhancements)?
I think it would be great if there could be a default list of selectable
constraints that in turn map to well-known properties, e.g. title as
dc:title, and dc:source if the content was retrieved from a URI etc.
Best,
Alessandro
On 2/2/12 12:31 PM, Ali Anil Sinaci wrote:
Hi Alessandro,
On 02/02/2012 01:21 PM, Alessandro Adamou wrote:
Hi Anil, Suat,
How can I query the Content Hub via Java API to get the set of stored
content items (or their id's?). The Store interface read method seems
to assume I already know the id of a document I want to get.
Currently, there is no such method to retrieve all stored documents or
their IDs. Maybe we can provide such a method.
Should I query the SolrSearch with a wildcard query perhaps?
Yes, a wildcard query (e.g. "*:*") will meet your needs I think.
Thanks!
Alessandro
Best,
Anil.
--
M.Sc. Alessandro Adamou
Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, 40127 Bologna - Italy
Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC)
National Research Council (CNR)
Via Nomentana 56, 00161 Rome - Italy
"As for the charges against me, I am unconcerned. I am beyond their timid, lying
morality, and so I am beyond caring."
(Col. Walter E. Kurtz)
Not sent from my iSnobTechDevice