<spanclass="mw-headline"id="Search_by_page_title">Search by page title</span>
</h2>
<p>
XOWA can find a page by words in its title. For example, typing <code>earth</code> will pull up all titles with the word, including <spanclass='page-inc'>Earth</span> and <spanclass='page-inc'>History of Earth</span>. More complicated searches can be performed, such as <code>earth + (history, future) -middle</code>
</p>
<p>
XOWA currently cannot search by text within a page (full-text search). This will be added in a future version.
</p>
<h2>
<spanclass="mw-headline"id="Usage">Usage</span>
</h2>
<p>
There are two ways to use search:
</p>
<ul>
<li>
Type into the address bar. A list of suggestions appear underneath.
</li>
<li>
Type into the suggest box. A list of suggestions appear underneath. Note that this box is near the top-right hand corner of the page between "View HTML" and the magnifying glass icon.
</li>
<li>
Type "?:some word" into the address bar. For example, enter <code>?:earth</code> in the address bar when in Simple Wikipedia
</li>
</ul>
<h2>
<spanclass="mw-headline"id="Syntax">Syntax</span>
</h2>
<p>
The following syntax is supported for search text:
By default, XOWA returns results sorted by "page length descending". In other words, the largest page would be the first in the list and the smallest page would be the last.
If a wiki is built with PageRank, or if a wiki is downloaded from archive.org, then the results will be sorted by "PageRank descending". See <ahref="//gnosygnu.github.io/xowa/wiki/home/page/Options/Search.html"id="xolnki_2"title="Options/Search"class="xowa-visited">Options/Search</a> for enabling PageRank.
By default, XOWA runs database searches in the background. This will return results to the screen quickly for complicated searches. For example, consider a search for <code>Earth*</code>:
</p>
<ul>
<li>
When the search runs in the background, the first result shows up in 2 seconds, and more results show up every second afterwards. The search will complete in 5 seconds.
</li>
<li>
When the search does not run in the background, all the results show up at the 5 second mark.
</li>
</ul>
<p>
While a search is running in the background, there will be a link called <code>Stop searching</code>. Clicking on the link will stop the background search, though the current results may be incomplete.
</p>
<p>
Finally, all search results are cached. The first time you search for <code>Earth*</code>, XOWA will search the database. Every time afterwards, it will pull the results up from memory. If you restart XOWA, it will search the database again.
XOWA wikis created before v3.3.4.1 will need to be upgraded. XOWA will detect if an upgrade is needed, and show a message box for confirmation. The upgrade process will take a few minutes.
</p>
<p>
Note that new wikis created after v3.3.4.1 will automatically be in the new format.
<b>Configure PageRank</b>: See <ahref="//gnosygnu.github.io/xowa/wiki/home/page/Options/Search.html"id="xolnki_3"title="Options/Search"class="xowa-visited">Options/Search</a>
<b>Configure Address bar autocomplete</b>: See <ahref="//gnosygnu.github.io/xowa/wiki/home/page/Options/Search_suggest.html"id="xolnki_4"title="Options/Search suggest"class="xowa-visited">Options/Search_suggest</a>
<li><ahref="//gnosygnu.github.io/xowa/wiki/home/page/App/Setup/System_requirements.html"title='Get XOWA's system requirements'>Requirements</a></li>
<li><ahref="//gnosygnu.github.io/xowa/wiki/home/page/App/Setup/Installation.html"title='Get instructions for installing XOWA'>Installation</a></li>
<li><ahref="//gnosygnu.github.io/xowa/wiki/home/page/App/Import/Simple_Wikipedia.html"title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
<li><ahref="//gnosygnu.github.io/xowa/wiki/home/page/App/Import/English_Wikipedia.html"title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
<li><ahref="//gnosygnu.github.io/xowa/wiki/home/page/App/Import/Other_wikis.html"title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
<li><ahref="http://dumps.wikimedia.org/backup-index.html"title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
<li><ahref="https://archive.org/search.php?query=xowa"title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
<li><ahref="http://en.wikipedia.org"title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
</ul>
</div>
</div>
<divclass="portal"id='xowa-portal-donate'>
<h3>Donate</h3>
<divclass="body">
<ul>
<li><ahref="https://archive.org/donate/index.php"title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->