-----Mensaje original-----
De: Dave [mailto:[EMAIL PROTECTED] 
Enviado el: miércoles, 18 de junio de 2008 14:48
Para: [email protected]
Asunto: Re: activate search

On Mon, Jun 16, 2008 at 10:50 AM, Ricardo Hermida Méndez <[EMAIL PROTECTED]>
wrote:
> INFO  2008-06-16 16:30:05,296 IndexManagerImpl:<init> - search enabled:
true
> INFO  2008-06-16 16:30:05,296 IndexManagerImpl:<init> - index dir: \Tomcat
> 5.5\webapps\roller\roller_data\search-index

I sure don't see anything obviously wrong in those logs. I don't see
any DEBUG messages at all. If you turn on debug, the search index will
report each index that it creates -- so you can see that it really is
indexing the data.

Another idea and this might be a red herring, but you might want to
try putting Roller and Tomcat in a directory that does not contain
spaces in the name. There may still be some code that breaks with
spaces in dir names.

- Dave



Ok, deleted another time the search-index folder and start roller in debug
mode.

The log entry has:

INFO  2008-06-18 16:31:50,000 HitCountQueue:shutdown - stopping worker
HitCountQueueProcessor
INFO  2008-06-18 16:31:50,000 ContinuousWorkerThread:run -
HitCountQueueProcessor INTERRUPT: sleep interrupted
INFO  2008-06-18 16:33:17,421 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JDBC_PROPERTIES
INFO  2008-06-18 16:33:17,421 DatabaseProvider:successMessage - -- Using
JDBC driver class: com.mysql.jdbc.Driver
INFO  2008-06-18 16:33:17,421 DatabaseProvider:successMessage - -- Using
JDBC connection URL: jdbc:mysql://ip:port/BBDD
INFO  2008-06-18 16:33:17,421 DatabaseProvider:successMessage - -- Using
JDBC username: obs_admin
INFO  2008-06-18 16:33:17,437 DatabaseProvider:successMessage - -- Using
JDBC password: [hidden]
INFO  2008-06-18 16:33:17,437 DatabaseProvider:successMessage - SUCCESS:
loaded JDBC driver class [com.mysql.jdbc.Driver]
INFO  2008-06-18 16:33:17,968 WebloggerFactory:bootstrap - Bootstrapping
Roller Weblogger business tier
INFO  2008-06-18 16:33:17,968 WebloggerFactory:bootstrap - Weblogger
Provider = org.apache.roller.weblogger.business.GuiceWebloggerProvider
INFO  2008-06-18 16:33:17,968 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JDBC_PROPERTIES
INFO  2008-06-18 16:33:17,968 DatabaseProvider:successMessage - -- Using
JDBC driver class: com.mysql.jdbc.Driver
INFO  2008-06-18 16:33:17,968 DatabaseProvider:successMessage - -- Using
JDBC connection URL: jdbc:mysql://ip:port/BBDD
INFO  2008-06-18 16:33:17,968 DatabaseProvider:successMessage - -- Using
JDBC username: obs_admin
INFO  2008-06-18 16:33:17,968 DatabaseProvider:successMessage - -- Using
JDBC password: [hidden]
INFO  2008-06-18 16:33:17,968 DatabaseProvider:successMessage - SUCCESS:
loaded JDBC driver class [com.mysql.jdbc.Driver]
INFO  2008-06-18 16:33:17,984 JPAPersistenceStrategy:<init> - openjpa.Log:
commons
INFO  2008-06-18 16:33:18,328 IndexManagerImpl:<init> - search enabled: true
INFO  2008-06-18 16:33:18,328 IndexManagerImpl:<init> - index dir: \Tomcat
5.5\webapps\Observatorio\roller_data\search-index
INFO  2008-06-18 16:33:18,343 ReferrerQueueManagerImpl:<init> -
Instantiating Referrer Queue Manager
INFO  2008-06-18 16:33:18,343 ReferrerQueueManagerImpl:<init> - Asynchronous
referrer processing = false
INFO  2008-06-18 16:33:18,343 ThreadManagerImpl:<init> - Instantiating
Thread Manager
INFO  2008-06-18 16:33:18,359 WebloggerFactory:bootstrap - Roller Weblogger
business tier successfully bootstrapped
INFO  2008-06-18 16:33:18,359 WebloggerFactory:bootstrap -    Version: 4.0
INFO  2008-06-18 16:33:18,359 WebloggerFactory:bootstrap -    Revision:
596807
INFO  2008-06-18 16:33:18,359 WebloggerImpl:initialize - Initializing Roller
Weblogger business tier
INFO  2008-06-18 16:33:20,312 ThemeManagerImpl:initialize - Loaded 4 themes
from disk.
INFO  2008-06-18 16:33:20,312 ThreadManagerImpl:initialize - Initializing
task: ScheduledEntriesTask
INFO  2008-06-18 16:33:20,359 ThreadManagerImpl:initialize - Initializing
task: ResetHitCountsTask
INFO  2008-06-18 16:33:20,375 ThreadManagerImpl:initialize - Initializing
task: TurnoverReferersTask
INFO  2008-06-18 16:33:20,390 ThreadManagerImpl:initialize - Initializing
task: PingQueueTask
INFO  2008-06-18 16:33:20,468 IndexManagerImpl:initialize - Index was
inconsistent. Rebuilding index in the background...
DEBUG 2008-06-18 16:33:20,468 IndexManagerImpl:scheduleIndexOperation -
Starting scheduled index operation:
org.apache.roller.weblogger.business.search.operations.RebuildWebsiteIndexOp
eration
DEBUG 2008-06-18 16:33:20,468 WriteToIndexOperation:run - Starting search
index operation
INFO  2008-06-18 16:33:20,531 WebloggerImpl:initialize - Roller Weblogger
business tier successfully initialized
INFO  2008-06-18 16:33:20,531 RollerContext:initializeSecurityFeatures -
Remember Me enabled: true
INFO  2008-06-18 16:33:20,531 RollerContext:initializeSecurityFeatures -
Password Encryption Algorithm set to 'SHA'
INFO  2008-06-18 16:33:20,531 RollerContext:setupVelocity - Initializing
Velocity
DEBUG 2008-06-18 16:33:20,687 RebuildWebsiteIndexOperation:doRun - Indexed
entry 13/06/08 10:34: la_micro_regulación_en_el
INFO  2008-06-18 16:33:20,890 IPBanFilter:init - INIT IPBanFilter
INFO  2008-06-18 16:33:20,906 RequestMappingFilter:init - Request mapping
filter initialized, 1 mappers configured.
DEBUG 2008-06-18 16:33:21,031 RebuildWebsiteIndexOperation:doRun - Indexed
entry 5/06/08 10:31: londres_se_cuestiona_su_modelo
DEBUG 2008-06-18 16:33:21,125 RebuildWebsiteIndexOperation:doRun - Indexed
entry 27/05/08 1:17: armando_estrella_mediática_en_la
WARN  2008-06-18 16:33:21,156 Settings:getLocale - Settings: Could not parse
struts.locale setting, substituting default VM locale
DEBUG 2008-06-18 16:33:21,375 RebuildWebsiteIndexOperation:doRun - Indexed
entry 20/05/08 9:37: servicio_de_estacionamiento_regalado_ser
DEBUG 2008-06-18 16:33:21,406 RebuildWebsiteIndexOperation:doRun - Indexed
entry 21/04/08 7:45: publicada_la_patente_del_sistema
DEBUG 2008-06-18 16:33:21,453 RebuildWebsiteIndexOperation:doRun - Indexed
entry 4/04/08 23:40: emprendedores_españoles
DEBUG 2008-06-18 16:33:21,546 RebuildWebsiteIndexOperation:doRun - Indexed
entry 31/03/08 8:26: tuplaza_en_el_aire
INFO  2008-06-18 16:33:21,578 PageServlet:init - Initializing PageServlet
INFO  2008-06-18 16:33:21,578 WeblogPageCache:<init> - {id=cache.weblogpage,
enabled=true, timeout=3600, size=400}
INFO  2008-06-18 16:33:21,593 CacheManager:<clinit> - Cache Manager
Initialized.
INFO  2008-06-18 16:33:21,593 CacheManager:<clinit> - Cache Factory =
org.apache.roller.weblogger.util.cache.ExpiringLRUCacheFactoryImpl
INFO  2008-06-18 16:33:21,593 SiteWideCache:<init> - {id=cache.sitewide,
enabled=true, timeout=1800, size=50}
INFO  2008-06-18 16:33:21,593 PageServlet:init - Referrer processing enabled
= true
INFO  2008-06-18 16:33:21,593 FeedServlet:init - Initializing FeedServlet
INFO  2008-06-18 16:33:21,609 WeblogFeedCache:<init> - {id=cache.weblogfeed,
enabled=true, timeout=3600, size=200}
INFO  2008-06-18 16:33:21,609 SearchServlet:init - Initializing
SearchServlet
INFO  2008-06-18 16:33:21,609 ResourceServlet:init - Initializing
ResourceServlet
DEBUG 2008-06-18 16:33:21,609 RebuildWebsiteIndexOperation:doRun - Indexed
entry 10/03/08 14:26: tuplaza_en_la_feria_madrid
INFO  2008-06-18 16:33:21,609 CommentServlet:init - Initializing
CommentServlet
INFO  2008-06-18 16:33:21,625 CommentValidationManager:<init> - Configured
CommentValidator: Blacklist Comment Validator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.BlacklistCommentVa
lidator
INFO  2008-06-18 16:33:21,625 CommentValidationManager:<init> - Configured
CommentValidator: Excess Links Comment Validator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessLinksComment
Validator
INFO  2008-06-18 16:33:21,625 CommentValidationManager:<init> - Configured
CommentValidator: Excess Size Comment Validator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessSizeCommentV
alidator
INFO  2008-06-18 16:33:21,625 CommentValidationManager:<init> - Configured 3
CommentValidators
INFO  2008-06-18 16:33:21,625 CommentServlet:init - Comment Throttling
DISABLED
INFO  2008-06-18 16:33:21,625 CommentValidationManager:<init> - Configured
CommentValidator: Blacklist Comment Validator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.BlacklistCommentVa
lidator
INFO  2008-06-18 16:33:21,625 CommentValidationManager:<init> - Configured
CommentValidator: Excess Links Comment Validator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessLinksComment
Validator
INFO  2008-06-18 16:33:21,625 CommentValidationManager:<init> - Configured
CommentValidator: Excess Size Comment Validator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessSizeCommentV
alidator
INFO  2008-06-18 16:33:21,625 CommentValidationManager:<init> - Configured 3
CommentValidators
INFO  2008-06-18 16:33:21,640 RSDServlet:init - Initializing RSDServlet
INFO  2008-06-18 16:33:21,640 PlanetFeedServlet:init - Initializing
PlanetRssServlet
INFO  2008-06-18 16:33:21,640 PlanetCache:<init> - Planet cache =
{id=cache.planet, enabled=true, timeout=1800, size=10}
INFO  2008-06-18 16:33:21,640 PreviewResourceServlet:init - Initializing
PreviewResourceServlet
INFO  2008-06-18 16:33:21,640 PreviewThemeImageServlet:init - Initializing
PreviewThemeImageServlet
INFO  2008-06-18 16:33:21,656 PreviewServlet:init - Initializing
PreviewServlet
DEBUG 2008-06-18 16:33:21,671 RebuildWebsiteIndexOperation:doRun - Indexed
entry 3/03/08 11:16: y_dónde_aparcan_las_motos
DEBUG 2008-06-18 16:33:21,828 RebuildWebsiteIndexOperation:doRun - Indexed
entry 18/02/08 23:54: varios_años_emprendiendo
DEBUG 2008-06-18 16:33:21,875 RebuildWebsiteIndexOperation:doRun - Indexed
entry 2/02/08 13:06: parkimetros_y_picaresca_siempre_de
DEBUG 2008-06-18 16:33:21,890 RebuildWebsiteIndexOperation:doRun - Indexed
entry 25/01/08 11:01: buscar_plaza_de_parking_no
DEBUG 2008-06-18 16:33:21,968 RebuildWebsiteIndexOperation:doRun - Indexed
entry 21/01/08 9:39: alquiler_de_garajes_contratos_e
DEBUG 2008-06-18 16:33:22,015 RebuildWebsiteIndexOperation:doRun - Indexed
entry 14/01/08 10:23: hoy_en_día_el_aparcamiento
DEBUG 2008-06-18 16:33:22,093 RebuildWebsiteIndexOperation:doRun - Indexed
entry 10/01/08 23:46: el_coche_compartido_carpooling_y
DEBUG 2008-06-18 16:33:22,140 RebuildWebsiteIndexOperation:doRun - Indexed
entry 4/01/08 10:00: armando_el_aparcamiento_en_la
DEBUG 2008-06-18 16:33:22,312 RebuildWebsiteIndexOperation:doRun - Indexed
entry 27/12/07 19:33: invertir_en_plazas_de_garaje
DEBUG 2008-06-18 16:33:22,359 RebuildWebsiteIndexOperation:doRun - Indexed
entry 12/12/07 23:38: el_aparcamiento_compartido_según_tuplaza
DEBUG 2008-06-18 16:33:22,375 RebuildWebsiteIndexOperation:doRun - Indexed
entry 7/12/07 11:56: tuplaza_y_el_aparcamiento_compartido
DEBUG 2008-06-18 16:33:22,468 RebuildWebsiteIndexOperation:doRun - Indexed
entry 5/12/07 17:28: bienvenidos_a_nuestro_particular_observatorio
INFO  2008-06-18 16:33:22,484 RebuildWebsiteIndexOperation:doRun - Completed
rebuilding index for all users in '1.984' secs
DEBUG 2008-06-18 16:33:22,484 WriteToIndexOperation:run - Search index
operation complete
INFO  2008-06-18 16:33:45,250 Blacklist:<clinit> - Initializing MT Blacklist
WARN  2008-06-18 16:33:45,250 Blacklist:loadBlacklistFromFile - Couldn't
find downloaded blacklist, loaded blacklist.txt from classpath instead
INFO  2008-06-18 16:33:45,265 Blacklist:loadBlacklistFromFile - Number of
blacklist string rules: 3102
INFO  2008-06-18 16:33:45,265 Blacklist:loadBlacklistFromFile - Number of
blacklist regex rules: 15
INFO  2008-06-18 16:33:45,406 ContinuousWorkerThread:run -
HitCountQueueProcessor Started.
INFO  2008-06-18 16:33:45,437 RendererManager:<clinit> - Renderer Manager
Initialized.
INFO  2008-06-18 16:33:45,437 RollerVelocity:<clinit> - Initializing
Velocity Rendering Engine

When I do a search, the log has new lines:

DEBUG 2008-06-18 16:41:45,281 IndexManagerImpl:executeIndexOperationNow -
Executing index operation now:
org.apache.roller.weblogger.business.search.operations.SearchOperation
DEBUG 2008-06-18 16:41:45,796 IndexManagerImpl:executeIndexOperationNow -
Executing index operation now:
org.apache.roller.weblogger.business.search.operations.SearchOperation
DEBUG 2008-06-18 16:42:16,390 IndexManagerImpl:executeIndexOperationNow -
Executing index operation now:
org.apache.roller.weblogger.business.search.operations.SearchOperation
DEBUG 2008-06-18 16:42:16,906 IndexManagerImpl:executeIndexOperationNow -
Executing index operation now:
org.apache.roller.weblogger.business.search.operations.SearchOperation

And the files created are:

_a.cfs 45KB
_l.cfs 54KB
deleteable 1KB
segments 1KB

If you don't see nothing bad, I try move tomcat to a folder without spaces


Thanks,

Regards,
Ricardo

Reply via email to