Atelier indexed search engine - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

Atelier indexed search engine

Description:

Chargement de l'extension. Param trage de l'extension. D claration ... Chargement de l'extension. Param trage de l'extension (TSConfig) Mise en place du CRON ... – PowerPoint PPT presentation

Number of Views:31
Avg rating:3.0/5.0
Slides: 25
Provided by: uniT69
Category:

less

Transcript and Presenter's Notes

Title: Atelier indexed search engine


1
Atelier indexed search engine
  • TYPO3 Summer University 2009 - ANNECY

Date
2
Introduction
  • Deux modes dindexation front end et back end
  • Deux types dinformations contenus TYPO3 et
    contenus externes (fichiers, liens)
  • Peu recommandé au delà de 10 000 pages et ou 8000
    fichiers
  • Solutions alternatives
  • Propriétaires
  • Antidote
  • TeamSite search
  • Libre
  • Ferret (Ruby)
  • Lucene
  • Powersearch (Zend)

3
Pré requis
  • Une installation TYPO3 opérationelle
  • Catdoc pour indexer les .doc
  • Pdftotext pour indexer les .pdf
  • Ooo_extract (unzip) pour les fichiers compressés
  • Xlhtml pour les fichiers excel
  • Ppthtml pour les fichiers power point
  • Unrtf pour les fichiers .rtf

4
Installation
  • Importation depuis le TER
  • Chargement de lextension
  • Paramétrage de lextension
  • Déclaration Typoscript
  • Tests et beaucoup de café

5
Paramétrage de lextension /1
6
Paramétrage de lextension /2
7
Paramétrage de lextension /3
8
Déclaration Typoscript
  • page.config index_enable 1 index_externals
    1 index_metatags 1plugin.tx_indexedsearc
    h.search.rootPidList 8plugin.tx_indexedsearch.s
    how.rules 0

9
Résultat Frontend
10
Résultat Backend
11
Template HTML
plugin.tx_indexedsearch templateFile
EXTindexed_search/pi/indexed_search.tmpl show
rules 1 parsetimes 0 L2sections
0 L1sections 1 LxALLtypes
0 clearSearchBox 0 clearSearchBox.enableSubS
earchCheckBox 0 forbiddenRecords
0 alwaysShowPageLinks 0 advancedSearchLink
1 resultNumber 0 mediaList
  • typo3/sysext/indexed_search/
  • pi/indexed_search.tmpl
  • Attention
  • Déplacer ce fichier dans le dossier fileadmin

12
Template HTML
lth2gtTEMPLATE_SEARCH_FORMlt/h2gt ltpgtltemgtTemplate for
displaying the search form.lt/emgtlt/pgt lt!--
SEARCH_FORM begin --gt lth2gtTEMPLATE_RULESlt/
h2gt ltpgtltemgtTemplate for displaying the search
rules.lt/emgtlt/pgt lt!-- RULES begin
--gt lth2gtTEMPLATE_RESULT_SECTION_LINKSlt/h2gt ltpgtlte
mgtTemplate for the section links in section
mode.lt/emgtlt/pgt lt!-- RESULT_SECTION_LINKS
begin --gt lth2gtTEMPLATE_RESULT_OUTPUTlt/h2gt ltpgtltem
gtTemplate for the search result
list.lt/emgtlt/pgt lt!-- RESULT_OUTPUT begin
--gt
13
Boite de recherche Typoscript
lib.sidebar_searchbox COA_INTlib.sidebar_searc
hbox     10 TEXT  10.typolink.parameter
plugin.tx_indexedsearch.searchUID  10.typolink
.returnLast url  10.wrap ltform action""
method"post" id"indexedsearch"gt    20
COA  20     wrap     10 TEXT    10.data
GPvar tx_indexedsearch sword    10.wrap
ltinput name"tx_indexedsearchsword" value""
class"searchbox-sword" type"text" /gt    20
COA    20       wrap nbsp      10
TEXT      10.value ltinput type"hidden"
name"tx_indexedsearchsections" value"0" /gt 
    20 TEXT      20.value ltinput
name"tx_indexedsearchsubmit_button"
value"Search" type"hidden" /gt      30 TEXT 
    30.value ltinput name"search"
src"fileadmin/templates/images/search.gif"
value"Search" class"searchbox-button"
type"image" /gt         30 COA  30  
  wrap     10 TEXT    10.value Advanced
search     10.typolink.parameter
plugin.tx_indexedsearch.searchUID 
  10.typolink.additionalParams
tx_indexedsearchext1    10.wrap ltbr /gtltbr
/gt    if.isTrue plugin.tx_indexedsearch.show
Advanced    wrap
14
Boite de recherche Résultat
15
Fonctionnalités avancées
  • EXT

16
Autres paramètres TSSelecteursRechercheAvanc
ée
Blinding of option-selectors / values in these
(advanced search) (see optValues array in source
code for options extResume checkbox) blind
type 0 defOp 0 sections
0 freeIndexUid 1 media 0 order
0 group 0 lang 0 desc 0 results
0 defOp.11 extResume1 rules_stdWrap
sectionlinks_stdWrap path_stdWrap
17
Autres paramètres TSRecherche
génériqueGestionMultilangue
search rootPidList page_links
10 detect_sys_domain_records
0 defaultFreeIndexUidList skipExtendToSubpag
esChecking 0 exactCount 0 result_link_t
arget / flagRendering CASE flagRendering
key.current 1 2 TEXT 2.value
German default TEXT default.value
English /
18
Autres paramètres TSGestion
desiconesDéfinition CSS
/ iconRendering CASE iconRendering
key.current 1 html TEXT html.value
HtmL default TEXT default.value TYPO3
pages / forwardSearchWordsInResultLink
0 Setting default values for piVars (please
see the source code for the form-field names
which you can preset values for
here) _DEFAULT_PI_VARS extResume 1 type
1 group flat _CSS_DEFAULT_STYLE
( .tx-indexedsearch .tx-indexedsearch-browsebox
LI displayinline margin-right5px )
19
(No Transcript)
20
Introduction
  • Deux modes de fonctionnements
  • Execution manuelle (forced indexing)
  • Execution automatique (CRON)
  • Le pré requi
  • indexed search installé et configuré correctement

21
Installation
  • Importation depuis le TER
  • Chargement de lextension
  • Paramétrage de lextension (TSConfig)
  • Mise en place du CRON
  • Tests et encore beaucoup de café

22
Paramètrage de lextension
23
Paramètrage du TSConfig
24
La suite
Write a Comment
User Comments (0)
About PowerShow.com