Page History
...
In a faceted search, a user can modify the list of displayed search results by specifying additional "filters" that will be applied on the list of search results. In DSpace, a filter is a contain condition applied to specific facets. In the example below, a user started with the search term "approach", which yielded 15 results. By applying the filter "economics" on the facet "Subject". After applying this filter, only 6 results remain.
Another example would be the standard search operation \ [*wetland + "dc.author=Mitsch, William J" + dc.subject="water quality"* \ ]. With filtered search, a user can start by searching for \ [*wetland* \ ], and then filter the results by the other attributes, author and subject. Wiki Markup
Discovery Features
- Configurable sidebar browse facets that can display contents from any metadata field
- Dynamically generated timespans for dates
- Customizable recent submissions display on the repository homepage, collection and community pages
- Auto-complete on search terms
...
As with any upgrade procedure, it is highly recommend that you backup your existing data thoroughly. Although upgrades in versions of Solr/Lucene do tend to be forwards compatible for the data stored in the Lucene index, it is always a best practice to backup your dspace.dir[dspace]/solr/statistics cores to assure no data is lost.
...
- General settings: The discovery.cfg file located in the [dspace.dir]/config/modules directory.
- User Interface Configuration: The spring-dspace-addon-discovery-configuration-services.xml file is located in [dspace.dir]/config/spring/discovery/ directory.
General Discovery settings (config/modules/discovery.cfg)
The discovery.cfg file is located in the [dspace.dir]/config/modules directory and contains following properties:
...
The spring-dspace-addon-discovery-configuration-services.xml file is located in the [dspace.dir]/config/spring directory.
...
- metadataSortField (mandatory): The metadata field to sort on to retrieve the recent submissions
- max (mandatory): The maximum number of results to be displayed as recent submissions
- type (optional): the type of the search filter it can either be date or text, if none is defined text will be used.
...
Discovery SOLR Index Maintenance
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="82ddba8e-d2ea-495e-886e-f9dd27ce60fe"><ac:plain-text-body><![CDATA[ | Command used: |
| ]]></ac:plain-text-body></ac:structured-macro> |
|
Java class: | org.dspace.discovery.IndexClient | Java class: | org.dspace.discovery.SolrServiceImpl (or any other custom class that inherits from org.dspace.discovery.IndexingService) | |
Arguments (short and long forms): | Description | |||
| called without any options, will update/clean an existing index | |||
| (re)build index, wiping out current one if it exists | |||
| clean existing index removing any documents that no longer exist in the db | |||
| if updating existing index, force each handle to be reindexed even if uptodate | |||
| print this help message | |||
| Run maintenance on the Discovery SOLR index. Recommended to run daily, to prevent your servlet container from running out of memory |
Notes:
optimize search core | |
| remove an Item, Collection or Community from index based on its handle |
Routine Discovery SOLR Index Maintenance
It is strongly recommended to run maintenance on the Discovery SOLR index The usage of this this option is strongly recommended, you should run this script daily (from crontab or your system's scheduler), to prevent your servlet container from running out of memory.:
[dspace]/bin/dspace update-discovery-index -o
Advanced SOLR Configuration
Discovery is built as an application layer on top of the Open Source Enterprise Search Server SOLR. ThereforTherefore, SOLR configuration can be applied to the SOLR cores that are shipped with DSpace.
The DSpace SOLR instance itself now runs two cores. One for collection DSpace Solr based "statistics", the other for Discovery Solr based "search".
...