Leider ist meine INDEXED_SEARCH immer erfolglos, da mein TYPO3 nicht indiziert....woran kann das leigen??
TYPO3 indiziert nicht...
Hast Du im Setup
page.config.index_enable = 1
angegeben?
Ja, ist eingetragen.... :-(
ich geh mal davon aus, dass du nach tutorial vorgegangen bist.
die suchseite (die nicht im menü sein muss, wenn du die suchabfrage im Template verankert hast) sollte sich ganz oben im Baum befinden.
prüfe auch mal, ob alle geschweiften klammern im setup deines templates korrekt sind (deshalb gings beim mir auch nicht :o )
mein setup sieht so aus, wobei die formatierung optional ist.
#Indiezierung der Seiten für die indexed_search_engine
page.config.index_enable = 1
page.config.index_externals = 1
plugin.tx_indexedsearch {
show {
rules=0
parsetimes=0
L2sections=0
L1sections=1
LxALLtypes=0
}
# 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
media=0
order=0
group=0
lang=0
desc=0
results=0
# defOp.1=1
# extResume=1
}
rules_stdWrap {
}
sectionlinks_stdWrap {
}
path_stdWrap {
}
search.rootPidList =
search.page_links = 10
result_link_target =
tableParams {
secHead = border=0 cellpadding=0 cellspacing=0 width="100%"
searchBox = border=0 cellpadding=0 cellspacing=0
searchRes = border=0 cellpadding=0 cellspacing=0 width="100%"
}
# 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
_CSS_DEFAULT_STYLE (
.tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-button { width:100px; font-size:10pt;}
.tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-sword { width:150px; font-size:10pt;}
.tx-indexedsearch .tx-indexedsearch-whatis P .tx-indexedsearch-sw { font-weight:normal; font-size:10pt;}
.tx-indexedsearch .tx-indexedsearch-whatis { margin-top:10px; margin-bottom:5px; font-size:10pt;}
.tx-indexedsearch P.tx-indexedsearch-noresults { text-align:center; font-weight:normal; font-size:10pt;}
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title { background:#eeeeee; font-size:10pt;}
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title P { font-weight:normal; font-size:10pt;}
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title P.tx-indexedsearch-percent { font-weight:normal; font-size:10pt;}
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-descr P {font-size:10pt;}
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-descr P .tx-indexedsearch-redMarkup { color:red;font-size:10pt; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-info { background:#eeeeff; font-size:10pt;}
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead { margin-top:20px; margin-bottom:5px; font-size:10pt;}
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead H2 { font-face:Verdana,Arial;font-size:10pt;margin-top:0px; margin-bottom:0px; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead TABLE { background:#cccccc; font-size: 10pt;}
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead TD { vertical-align:absmiddle; font-size:10pt; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch P {font-size:10pt;}
)
_LOCAL_LANG {
}
}
Kann auch am News-Plugin liegen. Alle Seiten, in denen das News-Plugin eingebunden ist, werden nicht indiziert. Wenn Du also ein News-Plugin auf jeder Seite hast, geht es nicht.
Ein Workarround wurde hier schon öfter beschrieben, einfach die Suche benutzen...