Hi Francesco,
I don't think that the authority field is relevant for your use case.
The authority field is used to track the id of the author as defined by the
external system that "own" the controlled list.
In your scenario you only need to help the user to input the data using an
autocomplete that suggest from the list of already usered values.
I suggest to you to take a look to the browse system that already store (if
configurated in this way) an index for the author fields (dc.contributor.*).
Please note that currently the browse system only work on dbms storage (oracle
or postgresql) but I have proposed an improvements for dspace 3 to support
browse via solr JIRA DS-1218.
Finally you could be interested in an additional module dspace-cris that allow
you to manage inside dspace author profiles and use these as authority list in
submission.
Please find some initial information at
https://github.com/CILEA/dspace-cris/wiki
Hope this help,
Andreaf vernocchi <francesco.vernoc...@datamanagementpa.it> ha scritto:
>> 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).
>
You right, can't retrieve authority confidence with solr! only names.
I'll try to implement a plugin class with that query. But still
wondering about nobody ask for this kind of implementation..
thank you again
------------------------------------------------------------------------------
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech