Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:user:searching [2019/02/05 12:05]
kjdon
en:user:searching [2020/06/15 13:49] (current)
kjdon [Formatting cross-collection search results]
Line 2: Line 2:
  
 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 ​one of three indexers to determine how documents are indexed, and +collection. You can select ​defferent ​indexers to determine how documents are indexed, and 
 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 26:
     * [[en:​user_advanced:​lucene| More info about Lucene]]     * [[en:​user_advanced:​lucene| More info about Lucene]]
  
-  * **SOLR**:  +  * **SOLR**: ​Available in Greenstone3. 
 +      * [[en:​user_advanced:​solr| More info about SOLR ]] 
 +    * 
 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'​ features, which are explained in the sections below. The following table compares the indexers'​ features, which are explained in the sections below.
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 <​facet>​ elements into the <​search>​ element, in a simlar ​fashion to the index elements:+Add <​facet>​ elements into the <​search>​ element, in a similar ​fashion to the index elements:
  
 <​code>​ <​code>​
Line 290: Line 291:
 </​code>​ </​code>​
  
-You can modify the format statement in almost the same way you do any format statement. You can use <​gsf:​metadata>​ like normal. The main difference is in how links (to documents and source files) are constructed. Currently <​gsf:​link>​ won't give the right result for a cross collection search result. You need to construct the link by hand.+You can modify the format statement in almost the same way you do any format statement. You can use //<​gsf:​metadata>​// like normal. The main difference is in how links (to documents and source files) are constructed. Currently ​//<​gsf:​link>​// won't give the right result for a cross collection search result. You need to construct the link by hand.
  
 Links to the greenstone version of the document look like: Links to the greenstone version of the document look like: