On Mon, Aug 20, 2012 at 4:28 PM, f vernocchi <[email protected]> wrote: > I don't think Solr contains the authority information at all. I just > looked again and didn't see it. Do you need me to give you the SQL? > > > Or maybe there is a misunderstanding over the concept of authority. > Besides, give me a pseudo SQL and let's see what you mean about it.
To clear it up, the authority information consists of an authority identifier and a confidence value. You can find these stored for each record in the authority and confidence columns of the metadatavalue table (if you're not using authorities, they will be NULL and -1, respectively). So it is in SQL. But the authority information (identifier, confidence) isn't stored in Solr, only the author names are in Solr. > At last, only question I really want to know is: 'can I choose > dc.contributor.author from a list of authors that I recently added within > the items in my collection?' Here's the basic query. Of course, you may want to modify it to select only the text_value, authority and confidence columns, raise the limit, sort in descending order by item_id to get the last items, group by text_value or authority to get distinct authors, filter out authority = NULL etc. SELECT * FROM metadatavalue WHERE metadata_field_id = 3 LIMIT 30 > if the customization of plugin is the response to my question I wonder if > there is an implementation: I'm not sure if you need to write a plugin it to get just the autosuggestions (I don't use the submission workflow). Regards, ~~helix84 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

