roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giovanni Sanchez <gio...@yahoo.com>
Subject Re: Search problem
Date Fri, 11 Jan 2008 22:56:04 GMT
> Did you set the property 'search.index.dir' in your roller-custom.properties file? 
i have this:   search.index.dir=C:/roller_data/search-index

> And if so, do you see anything in that dirctory?
i see the following files:
.index-inconsistent
_1.cfs
deletable
segments

> Or, log messages that indicated that indexing happening?
.
.
INFO  2008-01-11 15:52:33,640 IndexManagerImpl:<init> - search enabled: true
INFO  2008-01-11 15:52:33,640 IndexManagerImpl:<init> - index dir: C:\roller_data\search-index
.
.
.
INFO  2008-01-11 15:52:36,296 SearchServlet:init - Initializing SearchServlet
.
.

> You can turn on debug logging for the search sub-system by adding this to roller-custom.properties:
I turned on debug logging for the search sub-system, and I include the logs for a complete
test:
- at tomcat startup
- accesing to roller front page (http://localhost:8080/roller/)
- running search on front page
- accesing to MyBlog (http://localhost:8080/roller/MyBlog/)
- running search on MyBlog


-Logs from roller.log file:

- at tomcat startup:

INFO  2008-01-11 15:52:31,703 DatabaseProvider:successMessage - SUCCESS: Got parameters. Using
configuration type JNDI_NAME
INFO  2008-01-11 15:52:31,703 DatabaseProvider:successMessage - -- Using JNDI datasource name:
java:comp/env/jdbc/rollerdb
INFO  2008-01-11 15:52:31,703 DatabaseProvider:successMessage - SUCCESS: located JNDI DataSource
[java:comp/env/jdbc/rollerdb]
INFO  2008-01-11 15:52:33,281 WebloggerFactory:bootstrap - Bootstrapping Roller Weblogger
business tier
INFO  2008-01-11 15:52:33,281 WebloggerFactory:bootstrap - Weblogger Provider = org.apache.roller.weblogger.business.GuiceWebloggerProvider
INFO  2008-01-11 15:52:33,296 DatabaseProvider:successMessage - SUCCESS: Got parameters. Using
configuration type JNDI_NAME
INFO  2008-01-11 15:52:33,296 DatabaseProvider:successMessage - -- Using JNDI datasource name:
java:comp/env/jdbc/rollerdb
INFO  2008-01-11 15:52:33,296 DatabaseProvider:successMessage - SUCCESS: located JNDI DataSource
[java:comp/env/jdbc/rollerdb]
INFO  2008-01-11 15:52:33,296 JPAPersistenceStrategy:<init> - openjpa.Log: commons
INFO  2008-01-11 15:52:33,640 IndexManagerImpl:<init> - search enabled: true
INFO  2008-01-11 15:52:33,640 IndexManagerImpl:<init> - index dir: C:\roller_data\search-index
INFO  2008-01-11 15:52:33,656 ReferrerQueueManagerImpl:<init> - Instantiating Referrer
Queue Manager
INFO  2008-01-11 15:52:33,656 ReferrerQueueManagerImpl:<init> - Asynchronous referrer
processing = false
INFO  2008-01-11 15:52:33,656 ThreadManagerImpl:<init> - Instantiating Thread Manager
INFO  2008-01-11 15:52:33,656 WebloggerFactory:bootstrap - Roller Weblogger business tier
successfully bootstrapped
INFO  2008-01-11 15:52:33,671 WebloggerFactory:bootstrap -    Version: 4.0
INFO  2008-01-11 15:52:33,671 WebloggerFactory:bootstrap -    Revision: 596807
INFO  2008-01-11 15:52:33,671 WebloggerImpl:initialize - Initializing Roller Weblogger business
tier
INFO  2008-01-11 15:52:35,187 ThemeManagerImpl:initialize - Loaded 20 themes from disk.
INFO  2008-01-11 15:52:35,187 ThreadManagerImpl:initialize - Initializing task: ScheduledEntriesTask
INFO  2008-01-11 15:52:35,234 ThreadManagerImpl:initialize - Initializing task: ResetHitCountsTask
INFO  2008-01-11 15:52:35,234 ThreadManagerImpl:initialize - Initializing task: TurnoverReferersTask
INFO  2008-01-11 15:52:35,234 ThreadManagerImpl:initialize - Initializing task: PingQueueTask
INFO  2008-01-11 15:52:35,265 WebloggerImpl:initialize - Custom ping targets have been disallowed.
 Removing any existing custom targets.
INFO  2008-01-11 15:52:35,281 WebloggerImpl:initialize - Ping usage has been disabled.  Removing
any existing auto ping configurations.
INFO  2008-01-11 15:52:35,281 WebloggerImpl:initialize - Roller Weblogger business tier successfully
initialized
INFO  2008-01-11 15:52:35,281 RollerContext:initializeSecurityFeatures - Remember Me enabled:
true
INFO  2008-01-11 15:52:35,281 RollerContext:initializeSecurityFeatures - Password Encryption
Algorithm set to 'SHA'
INFO  2008-01-11 15:52:35,296 RollerContext:setupVelocity - Initializing Velocity
INFO  2008-01-11 15:52:35,578 IPBanFilter:init - INIT IPBanFilter
INFO  2008-01-11 15:52:35,593 RequestMappingFilter:init - Request mapping filter initialized,
1 mappers configured.
WARN  2008-01-11 15:52:35,828 Settings:getLocale - Settings: Could not parse struts.locale
setting, substituting default VM locale
INFO  2008-01-11 15:52:36,281 PageServlet:init - Initializing PageServlet
INFO  2008-01-11 15:52:36,281 WeblogPageCache:<init> - {id=cache.weblogpage, enabled=true,
timeout=3600, size=400}
INFO  2008-01-11 15:52:36,296 CacheManager:<clinit> - Cache Manager Initialized.
INFO  2008-01-11 15:52:36,296 CacheManager:<clinit> - Cache Factory = org.apache.roller.weblogger.util.cache.ExpiringLRUCacheFactoryImpl
INFO  2008-01-11 15:52:36,296 SiteWideCache:<init> - {id=cache.sitewide, enabled=true,
timeout=1800, size=50}
INFO  2008-01-11 15:52:36,296 PageServlet:init - Referrer processing enabled = true
INFO  2008-01-11 15:52:36,296 FeedServlet:init - Initializing FeedServlet
INFO  2008-01-11 15:52:36,296 WeblogFeedCache:<init> - {id=cache.weblogfeed, enabled=true,
timeout=3600, size=200}
INFO  2008-01-11 15:52:36,296 SearchServlet:init - Initializing SearchServlet
INFO  2008-01-11 15:52:36,296 ResourceServlet:init - Initializing ResourceServlet
INFO  2008-01-11 15:52:36,312 CommentServlet:init - Initializing CommentServlet
INFO  2008-01-11 15:52:36,328 CommentValidationManager:<init> - Configured CommentValidator:
Validador de comentario Blacklist / org.apache.roller.weblogger.ui.rendering.plugins.comments.BlacklistCommentValidator
INFO  2008-01-11 15:52:36,328 CommentValidationManager:<init> - Configured CommentValidator:
Validador de comentario Excess Links / org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessLinksCommentValidator
INFO  2008-01-11 15:52:36,328 CommentValidationManager:<init> - Configured CommentValidator:
Validador de comentario Excess Size / org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessSizeCommentValidator
INFO  2008-01-11 15:52:36,328 CommentValidationManager:<init> - Configured 3 CommentValidators
INFO  2008-01-11 15:52:36,328 CommentServlet:init - Comment Throttling DISABLED
INFO  2008-01-11 15:52:36,328 CommentValidationManager:<init> - Configured CommentValidator:
Validador de comentario Blacklist / org.apache.roller.weblogger.ui.rendering.plugins.comments.BlacklistCommentValidator
INFO  2008-01-11 15:52:36,328 CommentValidationManager:<init> - Configured CommentValidator:
Validador de comentario Excess Links / org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessLinksCommentValidator
INFO  2008-01-11 15:52:36,328 CommentValidationManager:<init> - Configured CommentValidator:
Validador de comentario Excess Size / org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessSizeCommentValidator
INFO  2008-01-11 15:52:36,328 CommentValidationManager:<init> - Configured 3 CommentValidators
INFO  2008-01-11 15:52:36,328 RSDServlet:init - Initializing RSDServlet
INFO  2008-01-11 15:52:36,343 PlanetFeedServlet:init - Initializing PlanetRssServlet
INFO  2008-01-11 15:52:36,343 PlanetCache:<init> - Planet cache = {id=cache.planet,
enabled=true, timeout=1800, size=10}
INFO  2008-01-11 15:52:36,343 PreviewResourceServlet:init - Initializing PreviewResourceServlet
INFO  2008-01-11 15:52:36,343 PreviewThemeImageServlet:init - Initializing PreviewThemeImageServlet
INFO  2008-01-11 15:52:36,468 PreviewServlet:init - Initializing PreviewServlet


- accesing to roller front page (http://localhost:8080/roller/)

WARN  2008-01-11 15:59:00,125 PingQueueProcessor:processQueue - WARNING: Skipping current
ping queue processing round because we cannot yet determine the site's absolute context url.
INFO  2008-01-11 16:07:14,921 RendererManager:<clinit> - Renderer Manager Initialized.
INFO  2008-01-11 16:07:14,921 RollerVelocity:<clinit> - Initializing Velocity Rendering
Engine


- running search on front page

DEBUG 2008-01-11 16:11:00,843 IndexManagerImpl:executeIndexOperationNow - Executing index
operation now: org.apache.roller.weblogger.business.search.operations.SearchOperation
DEBUG 2008-01-11 16:11:01,359 IndexManagerImpl:executeIndexOperationNow - Executing index
operation now: org.apache.roller.weblogger.business.search.operations.SearchOperation

the search works well!! :)


- accesing to MyBlog (http://localhost:8080/roller/MyBlog/)

INFO  2008-01-11 16:14:46,484 Blacklist:<clinit> - Initializing MT Blacklist
WARN  2008-01-11 16:14:46,500 Blacklist:loadBlacklistFromFile - Couldn't find downloaded blacklist,
loaded blacklist.txt from classpath instead
INFO  2008-01-11 16:14:46,515 Blacklist:loadBlacklistFromFile - Number of blacklist string
rules: 3102
INFO  2008-01-11 16:14:46,531 Blacklist:loadBlacklistFromFile - Number of blacklist regex
rules: 15


- running search on MyBlog

DEBUG 2008-01-11 16:19:37,171 IndexManagerImpl:executeIndexOperationNow - Executing index
operation now: org.apache.roller.weblogger.business.search.operations.SearchOperation
DEBUG 2008-01-11 16:19:37,671 IndexManagerImpl:executeIndexOperationNow - Executing index
operation now: org.apache.roller.weblogger.business.search.operations.SearchOperation

the search doesn't work!! :(




      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message