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:09]
kjdon [Searching]
en:user:searching [2020/06/15 13:49] (current)
kjdon [Formatting cross-collection search results]
Line 214: 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 291: 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: