Daisy documentation
 PreviousHomeNext 
5.5.3 Implementation notesBook Index5.7 Search and replace

5.6 Full text search

The full-text search screen can be customised:

In the <wikidata> directory, look for a file named conf/search-fulltext.xml

<?xml version="1.0"?>
<searchconf>
  <!--
    <documentName show="true" autoWildcards="false"/>
  -->

  <fullText show="true" required="true"/>

  <collections show="true" useSiteCollection="true">
    <!-- eg: <collection>testsite</collection> -->
  </collections>

  <!-- note: @showExclude and @exclude only have effect if @show="true"
  <documentTypes show="false" showExclude="true" exclude="true">
    <documentType>SimpleDocument</documentType>
  </documentTypes>
  -->

  <!--
  <partTypes show="true">
    <partType>NavigationPart</partType>
  </partTypes>
  -->
</searchconf>

After editing the configuration, it can take up to 10 seconds for the changes to take effect.

Configuration choices

The configuration of the search screen is up to the site administrators. Searches can put a serious load on the server. If your server is not up for it, you should not enable all the search fields. The defaults have been chosen to be reasonable for most servers.

These factors can influence your choice:

Notes about document name:

There are two ways to search in the document name:

Currently there is little point for enabling documentName, this has mainly been implemented to allow other search screens to use a similar configuration file in the future

Site-specific search configuration

If you want a specific site to have other configuration options, put a copy of search-fulltext.xml under <location of wikidata dir>/sites/<site>/conf (create this directory if it does not exist yet).

 PreviousHomeNext 
5.5.3 Implementation notes5.7 Search and replace