Question about Advanced Search - Dspace 9

37 views
Skip to first unread message

Aroldo Rique Júnior

unread,
Oct 31, 2025, 2:11:33 PMOct 31
to DSpace Technical Support, paulo...@mpf.mp.br
Hello!

We are updating our repository to DSpace 9.1.

The advanced filters that returned in version 9 are very useful for us, thank you very much!

We have a question: what does "Query" mean in Advanced Search?

image.png

When you have some free time, if possible, it would be good to update the Advanced Search documentation for version 9, at this link: https://wiki.lyrasis.org/display/DSDOC9x/Search+-+Advanced

Aroldo

Aroldo Rique Júnior

unread,
Oct 31, 2025, 11:27:01 PMOct 31
to DSpace Technical Support, paulo...@mpf.mp.br
I need to add additional metadata to the advanced search in DSpace 9.1. Is this possible?

For example, how do I insert item type (dc.type) and abstract (dc.description.abstract) filters into the metadata list for advanced search filters? (see image below)

image.png

I noticed that the default "Item Type" in DSpace 9.1 filters by the dspace.entity.type metadata (Example: https://sandbox.dspace.org/search?query=&spc.page=1&f.entityType=Publication,contains).

I use the dc.type metadata to save the item type, not dspace.entity.type. How do I change this so that the "Item Type" filters by dc.type?

Aroldo

Aroldo Rique Júnior

unread,
Nov 19, 2025, 11:29:05 AM (13 days ago) Nov 19
to DSpace Technical Support, paulo...@mpf.mp.br
Has anyone successfully added new filters to this advanced search in DSpace 8 or DSpace 9?

DSpace Technical Support

unread,
Nov 21, 2025, 3:18:21 PM (11 days ago) Nov 21
to DSpace Technical Support
Hi Aroldo,

The "Advanced Filters" setting you are referencing is described in the documentation at https://wiki.lyrasis.org/display/DSDOC9x/User+Interface+Configuration#UserInterfaceConfiguration-Searchsettings  

I wanted to first clarify though that it's *not the same* as the "Advanced Search" options listed at https://wiki.lyrasis.org/display/DSDOC9x/Search+-+Advanced  

The "Advanced Search" wiki page simply lists ways you can type in more advanced queries into the default searchbox, whereas the "Advanced Filters" are a way of adding more advanced filters into the search sidebar (which is what you are sharing screenshots from)

That said, with the Advanced Filters, you can customize the list of filters in the configuration (see the first link above).  However, the possible filters come from the *backend* and must be configured in the "discovery.xml".  For example, the "Item Type" you see listed there is the "entityType" value in the configuration, which corresponds to the "entityType" search filter defined here: https://github.com/DSpace/DSpace/blob/dspace-9_x/dspace/config/spring/api/discovery.xml#L2639

So, to add new values, you'd have to define new search filters in that "discovery.xml" as described in the Discovery documentation at https://wiki.lyrasis.org/display/DSDOC9x/Discovery#Discovery-ConfiguringlistsofsidebarFacetsandsearchFilters   I do want to warn though that these Discovery configurations can be complex and time consuming to customize, especially since you will need to reindex your site to see any changes.

Hopefully that helps!

Tim

Aroldo Rique Júnior

unread,
Nov 24, 2025, 2:54:50 PM (8 days ago) Nov 24
to DSpace Technical Support, paulo...@mpf.mp.br
Thanks for the reply, Tim.

We're also discussing this at this link: https://github.com/DSpace/dspace/issues/11523

I confess I've already tried everything. If anyone else has managed to get more than 5 advanced filters working and wants to help me, I would greatly appreciate it.

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
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 dspace-tech...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/2be4cc49-03ba-4cd2-ae54-30585f0439aan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages