en:user:searching
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:user:searching [2019/02/04 23:05] – kjdon | en:user:searching [2023/03/13 01:46] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | |||
====== Searching ====== | ====== Searching ====== | ||
In Greenstone, you can dictate how users will be able to search each | In Greenstone, you can dictate how users will be able to search each | ||
- | collection. You can select | + | collection. You can select |
you can create indexes based on any number of metadata fields and the text of the documents. | you can create indexes based on any number of metadata fields and the text of the documents. | ||
Line 26: | Line 29: | ||
* [[en: | * [[en: | ||
- | * **SOLR**: | + | * **SOLR**: |
+ | * [[en: | ||
+ | * | ||
Changing the indexer affects how the indexes are built, and may affect search functionality. | Changing the indexer affects how the indexes are built, and may affect search functionality. | ||
The following table compares the indexers' | The following table compares the indexers' | ||
Line 122: | Line 126: | ||
===== Partition Indexes ===== | ===== Partition Indexes ===== | ||
- | <!-- id:144 --> | + | Indexes are built on particular text or metadata sources. |
- | <!-- id:145 --> | + | The " |
" | " | ||
For more on how to create partitions, visit the [[en: | For more on how to create partitions, visit the [[en: | ||
Line 130: | Line 134: | ||
===== Searching a collection ===== | ===== Searching a collection ===== | ||
- | <TABAREA tabs="Greenstone3, | + | <tabbox |
- | <TAB> | + | |
Greenstone3 offers three different search page options, offering increasing | Greenstone3 offers three different search page options, offering increasing | ||
levels of granularity: | levels of granularity: | ||
Line 137: | Line 140: | ||
* **Form Search** presents all search options available for the collection, and multiple text boxes for query words/ | * **Form Search** presents all search options available for the collection, and multiple text boxes for query words/ | ||
* **Advanced Search** provides multiple text boxes for query words/ | * **Advanced Search** provides multiple text boxes for query words/ | ||
- | </TAB> | + | <tabbox Greenstone2> |
- | <TAB> | + | |
{{ : | {{ : | ||
Searching can be performed from the about page (depending on the search preference settings) and the search page of a collection. | Searching can be performed from the about page (depending on the search preference settings) and the search page of a collection. | ||
Line 150: | Line 152: | ||
- | </TAB> | + | </tabbox> |
- | </ | + | |
Line 213: | Line 214: | ||
In Greenstone 3, if you use SOLR as your search indexer, you can have faceted searching. This means you can filter search results based on other metadata. The facet options need to be set up manually in the collectionConfig.xml file as GLI does not allow you to enter them manually yet. | In Greenstone 3, if you use SOLR as your search indexer, you can have faceted searching. This means you can filter search results based on other metadata. The facet options need to be set up manually in the collectionConfig.xml file as GLI does not allow you to enter them manually yet. | ||
- | Add < | + | Add < |
< | < | ||
Line 227: | Line 228: | ||
</ | </ | ||
- | ===== <!-- id:380 -->Cross-collection searching ===== | + | ===== Cross-collection searching ===== |
- | <!-- id:381 -->Greenstone has a facility for “cross-collection searching, | + | Greenstone has a facility for “cross-collection searching, |
- | <TABAREA tabs="Greenstone3, | + | <tabbox |
- | <TAB> | + | |
of your library allows you to search all collections at once. Collections do not have to be built with | of your library allows you to search all collections at once. Collections do not have to be built with | ||
the same indexer; however, if collections //are// built with different indexers, results may not be ranked correctly, | the same indexer; however, if collections //are// built with different indexers, results may not be ranked correctly, | ||
Line 242: | Line 242: | ||
< | < | ||
</ | </ | ||
- | </TAB> | + | <tabbox Greenstone2> |
- | <TAB> | + | |
Cross-collection searching is done by specifying a list of other collections | Cross-collection searching is done by specifying a list of other collections | ||
to be searched along with the current one. | to be searched along with the current one. | ||
Line 258: | Line 257: | ||
The Preferences page allows you to choose which collections are included in the searches. | The Preferences page allows you to choose which collections are included in the searches. | ||
- | <!-- id:382 -->Cross-collection searching is enabled by a line in the collection Configuration file: | + | Cross-collection searching is enabled by a line in the collection Configuration file: |
< | < | ||
Line 264: | Line 263: | ||
</ | </ | ||
- | <!-- id:383 -->where the collections involved are called //col_1//, //col_2//, … The same line should appear in the configuration file of every collection that is involved. | + | where the collections involved are called //col_1//, //col_2//, … The same line should appear in the configuration file of every collection that is involved. |
- | </TAB> | + | </tabbox> |
- | </ | + | |
===== Formatting cross-collection search results ===== | ===== Formatting cross-collection search results ===== | ||
- | <TABAREA tabs="Greenstone3, | + | <tabbox |
- | <TAB> | + | |
In greenstone3, | In greenstone3, | ||
Line 290: | Line 287: | ||
</ | </ | ||
- | You can modify the format statement in almost the same way you do any format statement. You can use < | + | You can modify the format statement in almost the same way you do any format statement. You can use //< |
Links to the greenstone version of the document look like: | Links to the greenstone version of the document look like: | ||
Line 330: | Line 327: | ||
</ | </ | ||
This will output thumbicon metadata if it exists, otherwise will output srcicon metadata. | This will output thumbicon metadata if it exists, otherwise will output srcicon metadata. | ||
- | </TAB> | + | <tabbox Greenstone2> |
- | <TAB> | + | |
In greenstone2, | In greenstone2, | ||
- | </TAB> | + | </tabbox> |
- | </ | + | |
===== SQL Search forms ===== | ===== SQL Search forms ===== | ||
There are 2 SQL search forms: simple and advanced. | There are 2 SQL search forms: simple and advanced. | ||
Line 354: | Line 349: | ||
- | <TABAREA tabs="Greenstone3, | + | <tabbox |
- | <TAB> | + | |
The [[http:// | The [[http:// | ||
- | </TAB> | + | <tabbox Greenstone2> |
- | <TAB> | + | |
The [[http:// | The [[http:// | ||
- | </TAB> | + | </tabbox> |
- | </ | + |
en/user/searching.1549321531.txt.gz · Last modified: 2019/02/04 23:05 by kjdon