sfLucenePlugin: TimeOut sur les recherches
Bonjour
alors mon probleme est simplementque la recherche sur mon site avec le plugin fait des timeouts...
J'ai utilisé la config par défaut et voici ce que je recois:
Citation:
Fatal error: Maximum execution time of 30 seconds exceeded in D:\wamp\www\segunda\segunda\plugins\sfLucenePlugin\lib\highlighter\sfLuceneHighlighterXML.class.php on line 52
Call Stack
# Time Memory Function Location
1 0.0010 680520 {main}( ) ..\frontend_dev.php:0
2 0.2195 12769488 sfContext->dispatch( ) ..\frontend_dev.php:13
3 0.2195 12769536 sfFrontWebController->dispatch( ) ..\sfContext.class.php:170
4 0.2201 12795864 sfController->forward( ) ..\sfFrontWebController.class.php:48
5 0.2462 13461712 sfFilterChain->execute( ) ..\sfController.class.php:238
6 0.2464 13463080 sfRenderingFilter->execute( ) ..\sfFilterChain.class.php:53
7 0.2464 13463080 sfFilterChain->execute( ) ..\sfRenderingFilter.class.php:33
8 0.2466 13464408 sfGuardRememberMeFilter->execute( ) ..\sfFilterChain.class.php:53
9 0.2466 13464640 sfFilterChain->execute( ) ..\sfGuardRememberMeFilter.class.php:56
10 0.2468 13465960 sfExecutionFilter->execute( ) ..\sfFilterChain.class.php:53
11 0.4486 20188328 sfExecutionFilter->handleView( ) ..\sfExecutionFilter.class.php:47
12 0.4486 20188328 sfExecutionFilter->executeView( ) ..\sfExecutionFilter.class.php:116
13 0.4590 20395008 sfPHPView->render( ) ..\sfExecutionFilter.class.php:155
14 0.4596 20395384 sfPHPView->renderFile( ) ..\sfPHPView.class.php:185
15 0.4847 21542792 require( 'D:\wamp\www\segunda\segunda\plugins\sfLucenePlugin\modules\sfLucene\templates\searchResults.php' ) ..\sfPHPView.class.php:75
16 0.4989 21737904 include_search_result( ) ..\searchResults.php:20
17 0.4996 21765576 include_partial( ) ..\sfLuceneHelper.php:19
18 0.4996 21765576 get_partial( ) ..\PartialHelper.php:180
19 0.5016 21848024 sfPartialView->render( ) ..\PartialHelper.php:218
20 0.5021 21849480 sfPHPView->renderFile( ) ..\sfPartialView.class.php:124
21 0.5030 21911088 require( 'D:\wamp\www\segunda\segunda\plugins\sfLucenePlugin\modules\sfLucene\templates\_modelResult.php' ) ..\sfPHPView.class.php:75
22 0.5033 21911280 highlight_keywords( ) ..\_modelResult.php:10
23 0.5098 22109968 sfLuceneHighlighter->highlight( ) ..\sfLuceneHelper.php:60
24 0.5098 22109968 sfLuceneHighlighterXHTMLPart->prepare( ) ..\sfLuceneHighlighter.class.php:35
25 0.5098 22110200 sfLuceneHighlighterXHTML->prepare( ) ..\sfLuceneHighlighterXHTMLPart.class.php:32
26 0.5098 22110200 sfLuceneHighlighterXML->prepare( ) ..\sfLuceneHighlighterXHTML.class.php:24
En fait je cherche pas mal de champs sur plusieurs tables, chaque champs possède un index (mais pas fulltext).
J'ai bien génèré les fichiers d'index et il y a tres peu de données dans les tables (à tout casser 20 records). J'utilise Doctrine, sf1.4.13 et une version du plugin adaptée à Doctrine.
Mon fichier search.yml:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
| # Define any application specific rules to your models here
# such as routing, partials, etc
MyIndex:
models:
Performance:
fields:
id: unindexed
name: text
description:
type: text
transform: strip_tags
boost: 1.5
addedby: text
Editorial:
fields:
id: unindexed
titulo:
type: text
transform: strip_tags
boost: 1.5
subtitulo:
type: text
transform: strip_tags
boost: 2.0
text:
type: text
transform: strip_tags
boost: 2.5
author:
type: text
transform: strip_tags
boost: 1.0
Comment:
fields:
titulo:
type: text
transform: strip_tags
boost: 1.5
subtitulo:
type: text
transform: strip_tags
boost: 2.0
text:
type: text
transform: strip_tags
boost: 2.5
author:
type: text
transform: strip_tags
boost: 1.0
index:
encoding: UTF-8
cultures: [en, fr, es, pt] |
Si quelqu'un a une idée... je n'ai pas de APC (shared Host)