Hi Alex,

The "DefaultFilterQueries" is used for every single filter.  It doesn't 
create a new filter section.  See it's docs 
at: 
https://wiki.lyrasis.org/display/DSDOC7x/Discovery#Discovery-Addingdefaultfilterqueries(OPTIONAL)

I think you are trying to add a new Filter section?  If so, you'd want to 
look at the sections on adding a new *Facet* (each of those filter sections 
is called a Facet in 
Solr/Discovery). 
https://wiki.lyrasis.org/display/DSDOC7x/Discovery#Discovery-ConfiguringlistsofsidebarFacetsandsearchFilters
  
 

For better examples, you should look at how the that "Item Type" section is 
configured in discovery.xml.  In the discovery.xml, that entire section is 
setup using the "searchFilterEntityType" filter/facet.   If you look at how 
that is setup, it should be a guide for what you are looking for, as it is 
simply a facet/filter on a single metadata field (dspace.entity.type).  The 
"searchFilterAuthor" (Author filter), "searchFilterSubject" (Subject 
filter) are also good examples.

Tim
On Friday, July 21, 2023 at 2:52:02 AM UTC-5 zxale...@gmail.com wrote:

> Dear colleagues, how to make changes in discovery.xml?
> We added the dc.type:* value to the discovery.xml file, which is a query 
> by document type.
> [image: 1.jpg]
> The expected result is a filter with the distribution of records by type, 
> for example,
> Article 10
> Preprints 11
> etc.
> for example - for Has files and Item Type :
> [image: 2.jpg]
> [image: Screenshot from 2023-07-21 10-43-09.png]
> But it didn't work out that way. We tried to run the /dspace 
> index-discovery command after modifying discovery.xml.
> Help me please understand how to make changes to discovery.xml.
>
> Best regards,
> Alex
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/7439a6a4-d885-4c73-ac9b-8ae95c44f214n%40googlegroups.com.

Reply via email to