Wiki source code of Solr Feature Page
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | == Solr Search -Features == | ||
| 2 | |||
| 3 | The solr search module uses embedded solr server for indexing, analysis and retrieval of data. The features of the search module are as follows: | ||
| 4 | |||
| 5 | 1. Simple text search | ||
| 6 | 1. Advanced search using document fields like title, name, comments, space, language etc.. | ||
| 7 | 1. Objects and Properties | ||
| 8 | 1. Search attachments and text inside the readable attachments. | ||
| 9 | 1. Multilingual Support. | ||
| 10 | 1. Admin module to index wiki as a whole or a selected space. | ||
| 11 | 1. Indexing status details. | ||
| 12 | |||
| 13 | |||
| 14 | === Few examples === | ||
| 15 | |||
| 16 | To get a feel of Solr Search module, it is deployed on an amazon micro instance @ [[XWiki Instance on Amazon EC2 >>http://ec2-50-19-181-163.compute-1.amazonaws.com:8080/xwiki]] | ||
| 17 | |||
| 18 | ===== Basic & Advanced Search ===== | ||
| 19 | |||
| 20 | 1. Search for simple text [[water>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=water]] | ||
| 21 | 1. Search for text in page title [[health>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=title%3Ahealth]] | ||
| 22 | 1. Search for text in comments [[comment:ipsum>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=comment%3Aipsum]] | ||
| 23 | 1. Search for a attachment [[filename:*.png>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=filename%3A*.png]] | ||
| 24 | 1. Search for a attachment based on mimetype - [[mimetype:image/gif>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=mimetype%3Aimage%2Fgif]] | ||
| 25 | 1. Search for 'endurance' in attachments - [[endurance mimetype:application/*>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=endurance+mimetype%3Aapplication%2F*]] | ||
| 26 | 1. Search for XWikiUsers Object [[object:XWiki.XWikiUsers>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=object%3AXWiki.XWikiUsers]] | ||
| 27 | 1. Search for Blog Object [[object:Blog.*>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=object%3ABlog.*]] | ||
| 28 | 1. Search for a user on first name. [[XWiki.XWikiUsers.first_name:Jam*>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=XWiki.XWikiUsers.first_name%3AJam*]] | ||
| 29 | 1. Search for a document in a space [[water space:Ace>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=water+space%3AAce]] | ||
| 30 | |||
| 31 | |||
| 32 | |||
| 33 | ===== Multilingual Search ===== | ||
| 34 | |||
| 35 | {{warning}}Note: The search results are retrieved only for the language active in current execution context.{{/warning}} | ||
| 36 | |||
| 37 | 1. Search for a french word [[Atmosph*>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=Atmosph*]] | ||
| 38 | 1. Search for a english word when french is active. [[Water lang:en>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=Water+lang%3Aen]] | ||
| 39 | 1. Search for a Spanish word [[Agua lang:es>>http://savitha.hoplahup.net/xwiki/bin/view/Main/AdvancedSearch?q=Agua+lang%3Aes]] | ||
| 40 | |||
| 41 | |||
| 42 | |||
| 43 | |||
| 44 | ===== TO DO: ===== | ||
| 45 | |||
| 46 | 1. Sorting on Search Results. | ||
| 47 | * [[image:Screen shot 2012-07-21 at 5.09.30 PM.png]] | ||
| 48 | |||
| 49 | 1. Quick Search bar | ||
| 50 | 1. Debug mode in the Search GUI | ||
| 51 | 1. Auto Suggest | ||
| 52 |