Elasticsearch: Difference between revisions

From Freephile Wiki
describes a couple of major feature points of Elasticsearch
Adds additional note about searching using prefixes
Line 15: Line 15:
See [[mw:Help:CirrusSearch]] for help on how to best use the search functionality (including regex searches).
See [[mw:Help:CirrusSearch]] for help on how to best use the search functionality (including regex searches).


# Different indexes are created for the entire contents of the wiki.  Each index is weighted differently.  So, for example, "Lead-in" text is the wikitext between the top of the page and the first heading.  Words found here are deemed more relevant to a users search query than the same word if found in the body text of an article.  So, in this wiki, [{{fullurl:Special:Search|search=yaml|fulltext=Search}} searching for the word "YAML"] puts the [[Ansible]] article ahead of the [[Eclipse]] article in search results.
{{Messagebox
# Content as well as all files uploaded into the system are indexed. For example, [{{fullurl:Special:Search|search=fai|fulltext=Search|profile=all}} a search for "FAI"] lists both the [[Cloning]] article as well as the [[:File:Fai poster a4.pdf|PDF file]]  And the file is not listed only because of the file name, but also because of the (indexed) file content.  [{{fullurl:Special:Search|search=ed%20roman|fulltext=Search|profile=all}} A search for "Ed Roman"] will bring up the Enterprise Java Beans Design Patterns PDF file ([{{fullurl:File:Ejbdesignpatterns.pdf|page=13}} see p. 13 where Ed Roman is mentioned].)
| type = success
| text = Different indexes are created for the entire contents of the wiki.  Each index is weighted differently.  So, for example, "Lead-in" text is the wikitext between the top of the page and the first heading.  Words found here are deemed more relevant to a users search query than the same word if found in the body text of an article.  So, in this wiki, [{{fullurl:Special:Search|search=yaml|fulltext=Search}} searching for the word "YAML"] puts the [[Ansible]] article ahead of the [[Eclipse]] article in search results.
}}
{{Messagebox
| type = success
| text = Content as well as all files uploaded into the system are indexed. For example, [{{fullurl:Special:Search|search=fai|fulltext=Search|profile=all}} a search for "FAI"] lists both the [[Cloning]] article as well as the [[:File:Fai poster a4.pdf|PDF file]]  And the file is not listed only because of the file name, but also because of the (indexed) file content.  [{{fullurl:Special:Search|search=ed%20roman|fulltext=Search|profile=all}} A search for "Ed Roman"] will bring up the Enterprise Java Beans Design Patterns PDF file ([{{fullurl:File:Ejbdesignpatterns.pdf|page=13}} see p. 13 where Ed Roman is mentioned].)
}}
{{Messagebox
| type = success
| text = You can search all linked wikis '''directly''' from the search box.  Just enter the [{{fullurl:Special:Interwiki}} interwiki prefix], followed by a colon.  <code><nowiki>wp: roses</nowiki></code> searches WikiPedia for "roses" and takes you there.
}}
 
 


== Video ==
== Video ==

Revision as of 12:09, 31 January 2016