#%env/templates/metas.template%# #%env/templates/header.template%# #%env/templates/submenuPortalConfiguration.template%#

Integration of a Search Portal

If you like to integrate YaCy as portal for your web pages, you may want to change icons and messages on the search page. The search page may be customized. You can change the 'corporate identity'-images, the greeting line and a link to a home page that is reached when the 'corporate identity'-images are clicked. To change also colours and styles use the Appearance Servlet for different skins and languages.

Greeting Line
URL of Home Page
URL of a Small Corporate Image
URL of a Large Corporate Image
Alternative text for Corporate Images
Enable Search for Everyone?
Search is available for everyone  Only the administator is allowed to search
Show Navigation Bar on Search Page?
Show Navigation Top-Menu  no link to YaCy Menu (admin must navigate to /Status.html manually)
Show Advanced Search Options on Search Page?
Show Advanced Search Options on index.html  do not show Advanced Search
Media Search

Control whether media search results are as default strictly limited to indexed documents matching exactly the desired content domain (images, videos or applications specific), or extended to pages including such medias (provide generally more results, but eventually less relevant).

Remote results resorting

Automated results resorting with JavaScript makes the browser load the full result set of each search request. This may lead to high system loads on the server. Please check the 'Peer-to-peer search with JavaScript results resorting' section in the Local Search access rate configuration page to set up proper limitations on this mode by unauthenticated users.

Remote search encryption
When SSL/TLS is enabled on remote peers, https should be used to encrypt data exchanged with them when performing peer-to-peer searches. Please note that contrary to strict TLS, certificates are not validated against trusted certificate authorities (CA), thus allowing YaCy peers to use self-signed certificates.
Snippet Fetch Strategy & Link Verification
ideaSpeed up search results with this option! (use CACHEONLY or FALSE to switch off verification)
#(debug.snippets.statistics.enabled)#Statistics on text snippets generation can be enabled in the Debug/Analysis Settings page. ::
Detailed statistics
Counts by origin :
  • #[totalFromSolr]# provided by Solr
  • #[totalFromCache]# from cache
  • #[totalFromMetadata]# computed from indexed metadata
  • #[totalFromWeb]# from original documents fetched and parsed
  • #[totalFailures]# failures
#[totalSnippets]# text snippets were generated since last server startup, in a mean time of #[snippetsMeanTime]# and a maximum of #[snippetsMaxTime]#. #(/debug.snippets.statistics.enabled)#
NOCACHE: no use of web cache, load all snippets online
IFFRESH: use the cache if the cache exists and is fresh otherwise load online
IFEXIST: use the cache if the cache exist or load online
If verification fails, delete index reference

CACHEONLY: never go online, use all content from cache. If no cache entry exist, consider content nevertheless as available and show result without snippet
FALSE: no link verification and not snippet generation: all search results are valid without verification
Greedy Learning Mode
load documents linked in search results, will be deactivated automatically when index size > #[greedylearning.limit.doccount]# (see Heuristics: search-result to use this permanent)
Index remote results
add remote search results to the local index ( default=on, it is recommended to enable this option ! )
Limit size of indexed remote results
maximum allowed size in kbytes for each remote search result to be added to the local index (for example, a 1000kbytes limit might be useful if you are running YaCy with a low memory setup)
Default Pop-Up Page
Status Page  Search Front Page  Search Page (small header)  Interactive Search Page 
Default maximum number of results per page
Default index.html Page (by forwarder)
Target for Click on Search Results
Special Target as Exception for an URL-Pattern
 Pattern:
Exclude Hosts
List of hosts that shall be excluded from search results by default but can be included using the site:<host> operator:

#[search.excludehosth]#
'About' Column
(shown in a column alongside
with the search result page)
(Headline)
(Content)
 
  

You have to set a remote user/password to change this options.

The search page can be integrated in your own web pages with an iframe. Simply use the following code:

      <iframe name="target"
       src="#[myContext]#/index.html?display=2&resource=local"
       width="100%"
       height="410"
       frameborder="0"
       scrolling="auto"
       id="target"> 
      </iframe>  
    
This would look like:

For a search page with a small header, use this code:

      <iframe name="target2"
       src="#[myContext]#/yacysearch.html?display=2&resource=local"
       width="100%"
       height="180"
       frameborder="0"
       scrolling="auto"
       id="target2"> 
      </iframe>  
    
This would look like:

A third option is the interactive search. Use this code:

      <iframe name="target3"
       src="#[myContext]#/yacyinteractive.html?display=2"
       width="100%"
       height="180"
       frameborder="0"
       scrolling="auto"
       id="target3"> 
      </iframe>  
    
This would look like: #%env/templates/footer.template%#