Hi Andrea!

I'm having a hard time understanding and configuring DSpace's search. I 
have a lot of questions, please help me out. We're on DSpace 5.x using 
default Solr/Discovery search.

When you say to "make dc.description.provenance searchable", it means to 
create a "search.index.n" config? We already have this one:

search.index.17 = descriptions:dc.description.*

However, I can't search on "dc.description.provenance" using the searchbox 
with queries like "Submitted by Valquiria Rosa" or "Approved for entry into 
archive by Eliana Cunha".

Is this configuration effective only for Legacy Lucene/DB search or 
"search.index.n" also defines searchable metadata for Solr/Discovery?

We also have this settings regarding provenance:

*dspace.cfg*
metadata.hide.dc.description.provenance = true

*discovery.xml*
<bean id="org.dspace.discovery.configuration.DiscoveryConfigurationService" 
class="org.dspace.discovery.configuration.DiscoveryConfigurationService">
<property name="toIgnoreMetadataFields">
    <map>
    <entry>
        <key><util:constant 
static-field="org.dspace.core.Constants.ITEM"/></key>
        <list>
        <value>dc.description.provenance</value>
        </list>
    </entry>
    </map>
</property>
</bean>


Tiago

Em segunda-feira, 30 de maio de 2016 18:26:00 UTC-3, Andrea Schweer 
escreveu:
>
> Hi Tiago,
>
> On 11/05/16 22:50, Tiago Delboni wrote:
>
> I would like to perform searchs on DSpace 5.x based on workflow criteria 
> such as "submitted by" and "approved by".
>
>
> I see two options:
>
>    - make dc.description.provenance searchable -- it may not be desirable 
>    to expose all information in that field to the general public, but it's 
>    certainly the easiest way
>    - write a custom submission step and/or workflow processing action (if 
>    you're using the customisable workflow; otherwise customise the 
>    InstallItem#populateMetadata 
>    
> <https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/content/InstallItem.java#L153>
>  
>    method) that puts the submitter/approver information into a separate 
>    metadata field in addition to dc.description.provenance, then make that 
>    field searchable 
>
> cheers,
> Andrea
>
> -- 
> Dr Andrea Schweer
> Lead Software Developer, ITS Information Systems
> The University of Waikato, Hamilton, New Zealand
> +64-7-837 9120
>
>

-- 
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