You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Ricardo Hermida Méndez <rh...@tuplaza.es> on 2008/02/21 17:15:37 UTC
more about search
Hi to all,
I try config my roller to activate search, but I dont know that this
failing.
In my roller-costumer.properties file I have the next lines:
config.expandedProperties=search.index.dir
search.index.dir=${user.home}/roller_data/search-index
search.enabled=true
search.index.comments=true
and I make the folder ./roller_data/search-index over rollers folder
what do I bad?
Thanks.
Regards,
Ricardo Hermida.
RE: more about search
Posted by Ricardo Hermida Méndez <rh...@tuplaza.es>.
> I don't know. Maybe you can explain more about what is going wrong?
> Does Roller create the index in your search-index directory?
> What happens when you do a search?
> - Dave
> Hi again,
> I changed search.index.dir=${user.home}/roller_data/search-index to
> search.index.dir="rollerinstalation"/roller_data/search-index
> And I start debugger with this line:
> log4j.category.org.apache.roller.weblogger.business.search=DEBUG
>
> Roller makes search-index directory, and inside this makes 4 files:
> _a.cfs
> _c.cfs
> Deletable
> Segments
OK, that's good. Index is being created.
> And in the log file write this, when roller start:
> INFO 2008-02-25 11:06:42,609 IndexManagerImpl:<init> - search enabled:
true
> INFO 2008-02-25 11:06:42,609 IndexManagerImpl:<init> - index dir:
> .\roller_data\search-index
> INFO 2008-02-25 11:06:44,140 IndexManagerImpl:initialize - Index was
> inconsistent. Rebuilding index in the background...
> DEBUG 2008-02-25 11:06:44,140 IndexManagerImpl:scheduleIndexOperation -
> Starting scheduled index operation:
>
org.apache.roller.weblogger.business.search.operations.RebuildWebsiteIndexOp
> eration
> DEBUG 2008-02-25 11:06:44,140 WriteToIndexOperation:run - Starting search
> index operation
> DEBUG 2008-02-25 11:06:44,406 RebuildWebsiteIndexOperation:doRun -
Indexed
> entry 18/02/08 23:54: varios_años_emprendiendo
> DEBUG 2008-02-25 11:06:44,468 RebuildWebsiteIndexOperation:doRun -
Indexed
> entry 2/02/08 13:06: parkimetros_y_picaresca_siempre_de
> DEBUG 2008-02-25 11:06:44,562 RebuildWebsiteIndexOperation:doRun -
Indexed
> entry 25/01/08 11:01: buscar_plaza_de_parking_no
> DEBUG 2008-02-25 11:06:44,593 RebuildWebsiteIndexOperation:doRun -
Indexed
> entry 21/01/08 9:39: alquiler_de_garajes_contratos_e
> INFO 2008-02-25 11:06:44,609 RequestMappingFilter:init - Request mapping
> filter initialized, 1 mappers configured.
> DEBUG 2008-02-25 11:06:44,609 RebuildWebsiteIndexOperation:doRun -
Indexed
> entry 14/01/08 10:23: hoy_en_día_el_aparcamiento
> DEBUG 2008-02-25 11:06:44,765 RebuildWebsiteIndexOperation:doRun -
Indexed
> entry 10/01/08 23:46: el_coche_compartido_carpooling_y
> DEBUG 2008-02-25 11:06:44,796 RebuildWebsiteIndexOperation:doRun -
Indexed
> entry 4/01/08 10:00: armando_el_aparcamiento_en_la
> DEBUG 2008-02-25 11:06:44,812 RebuildWebsiteIndexOperation:doRun -
Indexed
> entry 27/12/07 19:33: invertir_en_plazas_de_garaje
> DEBUG 2008-02-25 11:06:44,828 RebuildWebsiteIndexOperation:doRun -
Indexed
> entry 12/12/07 23:38: el_aparcamiento_compartido_según_tuplaza
> DEBUG 2008-02-25 11:06:44,921 RebuildWebsiteIndexOperation:doRun -
Indexed
> entry 7/12/07 11:56: tuplaza_y_el_aparcamiento_compartido
> DEBUG 2008-02-25 11:06:44,937 RebuildWebsiteIndexOperation:doRun -
Indexed
> entry 5/12/07 17:28: bienvenidos_a_nuestro_particular_observatorio
> WARN 2008-02-25 11:06:44,968 Settings:getLocale - Settings: Could not
parse
> struts.locale setting, substituting default VM locale
> INFO 2008-02-25 11:06:45,000 RebuildWebsiteIndexOperation:doRun -
Completed
> rebuilding index for all users in '0.86' secs
> DEBUG 2008-02-25 11:06:45,000 WriteToIndexOperation:run - Search index
> operation complete
> DEBUG 2008-02-25 11:08:16,015 IndexManagerImpl:executeIndexOperationNow -
> Executing index operation now:
> org.apache.roller.weblogger.business.search.operations.SearchOperation
> DEBUG 2008-02-25 11:08:16,515 IndexManagerImpl:executeIndexOperationNow -
> Executing index operation now:
> org.apache.roller.weblogger.business.search.operations.SearchOperation
And all that looks good to0, your entries are being indexed.
I don't see any problem.
How are you executing the search query? Can you paste the HTML for the
search form?
- Dave
Good afternoon,
Continuing with the problem:
I write a word like "mando" (this word is inside of the blog) in the search
box. And them clic in search bottom.
And the html of search form is:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Search Results for 'mando' : Observatorio de Movilidad</title>
<link rel="EditURI" type="application/rsd+xml" title="RSD"
href="http://www.aparcalia.com/Observatorio/Movilidad/rsd"/>
<link rel="alternate" type="application/rss+xml" title="Search results
for 'mando'"
href="http://www.aparcalia.com/Observatorio/Movilidad/feed/entries/atom?q=ma
ndo" />
<link rel="stylesheet" type="text/css" media="all"
href="/Observatorio/Movilidad/page/basic-custom.css">
</head>
<body>
<div class="content_wrapper">
<div class="content">
<h1 class="weblogName">Observatorio de Movilidad</h1>
<center>
<ul class="rCategory">
<li class="selected">Todo</li>
<li><a
href="http://www.aparcalia.com/Observatorio/Movilidad/category/Aparcamiento"
>Aparcamiento</a></li>
<li><a
href="http://www.aparcalia.com/Observatorio/Movilidad/category/Nosotros">Nos
otros</a></li>
<li><a
href="http://www.aparcalia.com/Observatorio/Movilidad/category/Mucha+Movilid
ad">Mucha Movilidad</a></li>
</ul>
</center>
<div class="next-previous">
<div id="searchAgain">Has buscado este sitio "<a
href="http://dictionary.com/search?q=mando" title="Definición de {1} en
Dictionary.com" class="dictionary">mando</a>". <strong>0</strong> entradas
encontradas.
<form method="get" action="/Observatorio/Movilidad/search"
style="margin: 5px">
<input type="text" id="q" name="q" size="10" maxlength="255"
value="mando" style="padding-left: 1px" />
<br />
<select name="cat">
<option value="">- In Category -</option>
<option >Aparcamiento</option>
<option >Nosotros</option>
<option >Mucha Movilidad</option>
</select>
<input type="submit" value="Buscar otra vez" />
</form>
<em>También puede <a
href="http://google.com/search?q=mando%20site:http://www.aparcalia.com/Obser
vatorio/page/null" class="google">probar la misma búsqueda</a> en <a
href="http://google.com">Google</a>.</em>
</div>
<h3>Showing 1 - 0 of total 0 search results</h3>
</div>
</div>
</div>
<div class="rightbar_wrapper">
<div class="rightbar">
<div class="presentacion">
<h1>El blog del aparcamiento compartido, otras formas de
aparcamiento y movilidad urbana</h1>
</div>
<h2>Calendario</h2>
<div class="sidebar">
<table cellspacing="0" border="0" summary="Calendario de archivo del
blog" class="hCalendarTable"><tr><td colspan="7" align="center"
class="hCalendarMonthYearRow">
<a href="/Observatorio/Movilidad/date/200801"
title="Anterior" class="hCalendarNavBar">«</a> febrero
2008</td></tr><tr><th class="hCalendarDayNameRow" align="center">lun</th><th
class="hCalendarDayNameRow" align="center">mar</th><th
class="hCalendarDayNameRow" align="center">mié</th><th
class="hCalendarDayNameRow" align="center">jue</th><th
class="hCalendarDayNameRow" align="center">vie</th><th
class="hCalendarDayNameRow" align="center">sáb</th><th
class="hCalendarDayNameRow" align="center">dom</th></tr><tr><td
class="hCalendarDayNotInMonth"> </td><td
class="hCalendarDayNotInMonth"> </td><td
class="hCalendarDayNotInMonth"> </td><td
class="hCalendarDayNotInMonth"> </td><td class="hCalendarDay"><div
class="hCalendarDayTitle">1</div></td><td class="hCalendarDayLinked"><div
class="hCalendarDayTitle"><a
href="/Observatorio/Movilidad/date/20080202">2</a></div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">3</div></td></tr><tr><td
class="hCalendarDay"><div class="hCalendarDayTitle">4</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">5</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">6</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">7</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">8</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">9</div></td><td
class="hCalendarDay"><div
class="hCalendarDayTitle">10</div></td></tr><tr><td
class="hCalendarDay"><div class="hCalendarDayTitle">11</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">12</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">13</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">14</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">15</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">16</div></td><td
class="hCalendarDay"><div
class="hCalendarDayTitle">17</div></td></tr><tr><td
class="hCalendarDayLinked"><div class="hCalendarDayTitle"><a
href="/Observatorio/Movilidad/date/20080218">18</a></div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">19</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">20</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">21</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">22</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">23</div></td><td
class="hCalendarDay"><div
class="hCalendarDayTitle">24</div></td></tr><tr><td
class="hCalendarDay"><div class="hCalendarDayTitle">25</div></td><td
class="hCalendarDayCurrent"><div class="hCalendarDayTitle">26</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">27</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">28</div></td><td
class="hCalendarDay"><div class="hCalendarDayTitle">29</div></td><td
class="hCalendarDayNotInMonth"> </td><td
class="hCalendarDayNotInMonth"> </td></tr><tr><td
class="hCalendarDayNotInMonth"> </td><td
class="hCalendarDayNotInMonth"> </td><td
class="hCalendarDayNotInMonth"> </td><td
class="hCalendarDayNotInMonth"> </td><td
class="hCalendarDayNotInMonth"> </td><td
class="hCalendarDayNotInMonth"> </td><td
class="hCalendarDayNotInMonth"> </td></tr><tr
class="hCalendarNextPrev"><td colspan="7" align="center"><a
href="/Observatorio/Movilidad/" class="hCalendarNavBar">Hoy</a></td></tr>
</table>
</div>
<h2>Suscríbete</h2>
<div class="suscripcion">
<p><a class="imagenlink"
href="http://feeds.aparcalia.com/ObservatorioDeMovilidad" rel="alternate"
type="application/rss+xml"><img
src="http://www.aparcalia.com/Observatorio/Movilidad/resource/ICONOS/RSS.gif
" alt="" style="vertical-align:middle;border:0"/></a> <a
href="http://feeds.aparcalia.com/ObservatorioDeMovilidad" rel="alternate"
type="application/rss+xml"> RSS Suscríbete aquí</a>
</p>
<form style="border:1px solid #ccc;padding:3px;text-align:center;"
action="http://www.feedburner.com/fb/a/emailverify" method="post"
target="popupwindow"
onsubmit="window.open('http://www.feedburner.com/fb/a/emailverifySubmit?feed
Id=1571847', 'popupwindow', 'scrollbars=yes,width=550,height=520');return
true"><input type="hidden" name="loc" value="es_ES"/><p class="texto">Si
quieres recibir por correo electrónico las actualizaciones del Observatorio
de Movilidad, introdúcelo a continuación:</p><p><input type="text"
style="width:140px" name="email"/></p><input type="hidden"
value="http://feeds.feedburner.com/~e?ffid=1571847" name="url"/><input
type="hidden" value="Observatorio de Movilidad" name="title"/><input
type="hidden" name="loc" value="es_ES"/><input type="submit"
value="Suscribirme" />
</form>
<a class="imagenlink"
href="http://fusion.google.com/add?source=atgs&feedurl=http%3A//feeds.aparca
lia.com/ObservatorioDeMovilidad"><img
src="http://buttons.googlesyndication.com/fusion/add.gif" border="0"
alt="Add to Google"></a>
</div>
<h2>Buscar</h2>
<div class="sidebar">
<form id="searchForm" method="get"
action="/Observatorio/Movilidad/search"
style="margin: 0; padding: 0" onsubmit="return
validateSearch(this)">
<p>
<input type="text" id="q" name="q" size="10"
maxlength="255" value="mando" />
<input type="submit" class="button" value="Buscar" />
</p>
</form>
<script type="text/javascript">
function validateSearch(form) {
if (form.q.value == "") {
alert("Por favor, introduzca un término que buscar para
continuar.");
form.q.focus();
return false;
}
return true;
}
</script>
</div>
<h2>Links</h2>
<div class="sidebar">
<ul class="rFolder">
<li class="rFolderItem">
<a href="http://www.aparcalia.com" title="Plazas de garaje"
class="rBookmark0">Aparcalia</a>
</li>
</ul>
<p></p>
<p></p>
</div>
<h2>Navegación</h2>
<div class="sidebar">
<ul class="rNavigationBar">
<li class="rNavItem">
<a href="/Observatorio/"><span>Observatorio</span></a>
</li>
<li class="rNavItem">
<a
href="http://www.aparcalia.com/Observatorio/Movilidad/"><span>Weblog</span><
/a>
</li>
<li class="rNavItem">
<a
href="/Observatorio/roller-ui/login-redirect.rol"><span>Entrar</span></a>
</li>
</ul>
</div>
</div>
</div>
</body>
</html>
Thanks for the help!
Regards,
Ricardo.
Re: more about search
Posted by Dave <sn...@gmail.com>.
> I don't know. Maybe you can explain more about what is going wrong?
> Does Roller create the index in your search-index directory?
> What happens when you do a search?
> - Dave
> Hi again,
> I changed search.index.dir=${user.home}/roller_data/search-index to
> search.index.dir="rollerinstalation"/roller_data/search-index
> And I start debugger with this line:
> log4j.category.org.apache.roller.weblogger.business.search=DEBUG
>
> Roller makes search-index directory, and inside this makes 4 files:
> _a.cfs
> _c.cfs
> Deletable
> Segments
OK, that's good. Index is being created.
> And in the log file write this, when roller start:
> INFO 2008-02-25 11:06:42,609 IndexManagerImpl:<init> - search enabled: true
> INFO 2008-02-25 11:06:42,609 IndexManagerImpl:<init> - index dir:
> .\roller_data\search-index
> INFO 2008-02-25 11:06:44,140 IndexManagerImpl:initialize - Index was
> inconsistent. Rebuilding index in the background...
> DEBUG 2008-02-25 11:06:44,140 IndexManagerImpl:scheduleIndexOperation -
> Starting scheduled index operation:
> org.apache.roller.weblogger.business.search.operations.RebuildWebsiteIndexOp
> eration
> DEBUG 2008-02-25 11:06:44,140 WriteToIndexOperation:run - Starting search
> index operation
> DEBUG 2008-02-25 11:06:44,406 RebuildWebsiteIndexOperation:doRun - Indexed
> entry 18/02/08 23:54: varios_años_emprendiendo
> DEBUG 2008-02-25 11:06:44,468 RebuildWebsiteIndexOperation:doRun - Indexed
> entry 2/02/08 13:06: parkimetros_y_picaresca_siempre_de
> DEBUG 2008-02-25 11:06:44,562 RebuildWebsiteIndexOperation:doRun - Indexed
> entry 25/01/08 11:01: buscar_plaza_de_parking_no
> DEBUG 2008-02-25 11:06:44,593 RebuildWebsiteIndexOperation:doRun - Indexed
> entry 21/01/08 9:39: alquiler_de_garajes_contratos_e
> INFO 2008-02-25 11:06:44,609 RequestMappingFilter:init - Request mapping
> filter initialized, 1 mappers configured.
> DEBUG 2008-02-25 11:06:44,609 RebuildWebsiteIndexOperation:doRun - Indexed
> entry 14/01/08 10:23: hoy_en_día_el_aparcamiento
> DEBUG 2008-02-25 11:06:44,765 RebuildWebsiteIndexOperation:doRun - Indexed
> entry 10/01/08 23:46: el_coche_compartido_carpooling_y
> DEBUG 2008-02-25 11:06:44,796 RebuildWebsiteIndexOperation:doRun - Indexed
> entry 4/01/08 10:00: armando_el_aparcamiento_en_la
> DEBUG 2008-02-25 11:06:44,812 RebuildWebsiteIndexOperation:doRun - Indexed
> entry 27/12/07 19:33: invertir_en_plazas_de_garaje
> DEBUG 2008-02-25 11:06:44,828 RebuildWebsiteIndexOperation:doRun - Indexed
> entry 12/12/07 23:38: el_aparcamiento_compartido_según_tuplaza
> DEBUG 2008-02-25 11:06:44,921 RebuildWebsiteIndexOperation:doRun - Indexed
> entry 7/12/07 11:56: tuplaza_y_el_aparcamiento_compartido
> DEBUG 2008-02-25 11:06:44,937 RebuildWebsiteIndexOperation:doRun - Indexed
> entry 5/12/07 17:28: bienvenidos_a_nuestro_particular_observatorio
> WARN 2008-02-25 11:06:44,968 Settings:getLocale - Settings: Could not parse
> struts.locale setting, substituting default VM locale
> INFO 2008-02-25 11:06:45,000 RebuildWebsiteIndexOperation:doRun - Completed
> rebuilding index for all users in '0.86' secs
> DEBUG 2008-02-25 11:06:45,000 WriteToIndexOperation:run - Search index
> operation complete
> DEBUG 2008-02-25 11:08:16,015 IndexManagerImpl:executeIndexOperationNow -
> Executing index operation now:
> org.apache.roller.weblogger.business.search.operations.SearchOperation
> DEBUG 2008-02-25 11:08:16,515 IndexManagerImpl:executeIndexOperationNow -
> Executing index operation now:
> org.apache.roller.weblogger.business.search.operations.SearchOperation
And all that looks good to0, your entries are being indexed.
I don't see any problem.
How are you executing the search query? Can you paste the HTML for the
search form?
- Dave
RE: more about search
Posted by Ricardo Hermida Méndez <rh...@tuplaza.es>.
On Thu, Feb 21, 2008 at 11:15 AM, Ricardo Hermida Méndez <rh...@tuplaza.es>
wrote:
> I try config my roller to activate search, but I don't know that this
failing.
> In my roller-costumer.properties file I have the next lines:
>
> config.expandedProperties=search.index.dir
> search.index.dir=${user.home}/roller_data/search-index
> search.enabled=true
> search.index.comments=true
>
> and I make the folder ./roller_data/search-index over roller's folder
>
> what do I bad?
>
I don't know. Maybe you can explain more about what is going wrong?
Does Roller create the index in your search-index directory?
What happens when you do a search?
- Dave
Hi again,
I changed search.index.dir=${user.home}/roller_data/search-index to
search.index.dir="rollerinstalation"/roller_data/search-index
And I start debugger with this line:
log4j.category.org.apache.roller.weblogger.business.search=DEBUG
Roller makes search-index directory, and inside this makes 4 files:
_a.cfs
_c.cfs
Deletable
Segments
Roller don't show any results, always do 0 results.
And in the log file write this, when roller start:
INFO 2008-02-25 11:06:41,656 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JDBC_PROPERTIES
INFO 2008-02-25 11:06:41,656 DatabaseProvider:successMessage - -- Using
JDBC driver class: com.mysql.jdbc.Driver
INFO 2008-02-25 11:06:41,656 DatabaseProvider:successMessage - -- Using
JDBC connection URL: jdbc:mysql://x.x.x.x/bbdd
INFO 2008-02-25 11:06:41,656 DatabaseProvider:successMessage - -- Using
JDBC username: username
INFO 2008-02-25 11:06:41,656 DatabaseProvider:successMessage - -- Using
JDBC password: [hidden]
INFO 2008-02-25 11:06:41,671 DatabaseProvider:successMessage - SUCCESS:
loaded JDBC driver class [com.mysql.jdbc.Driver]
INFO 2008-02-25 11:06:42,218 WebloggerFactory:bootstrap - Bootstrapping
Roller Weblogger business tier
INFO 2008-02-25 11:06:42,218 WebloggerFactory:bootstrap - Weblogger
Provider = org.apache.roller.weblogger.business.GuiceWebloggerProvider
INFO 2008-02-25 11:06:42,218 DatabaseProvider:successMessage - SUCCESS: Got
parameters. Using configuration type JDBC_PROPERTIES
INFO 2008-02-25 11:06:42,218 DatabaseProvider:successMessage - -- Using
JDBC driver class: com.mysql.jdbc.Driver
INFO 2008-02-25 11:06:42,218 DatabaseProvider:successMessage - -- Using
JDBC connection URL: jdbc:mysql://x.x.x.x/bbdd
INFO 2008-02-25 11:06:42,218 DatabaseProvider:successMessage - -- Using
JDBC username: username
INFO 2008-02-25 11:06:42,218 DatabaseProvider:successMessage - -- Using
JDBC password: [hidden]
INFO 2008-02-25 11:06:42,218 DatabaseProvider:successMessage - SUCCESS:
loaded JDBC driver class [com.mysql.jdbc.Driver]
INFO 2008-02-25 11:06:42,234 JPAPersistenceStrategy:<init> - openjpa.Log:
commons
INFO 2008-02-25 11:06:42,609 IndexManagerImpl:<init> - search enabled: true
INFO 2008-02-25 11:06:42,609 IndexManagerImpl:<init> - index dir:
.\roller_data\search-index
INFO 2008-02-25 11:06:42,625 ReferrerQueueManagerImpl:<init> -
Instantiating Referrer Queue Manager
INFO 2008-02-25 11:06:42,625 ReferrerQueueManagerImpl:<init> - Asynchronous
referrer processing = false
INFO 2008-02-25 11:06:42,625 ThreadManagerImpl:<init> - Instantiating
Thread Manager
INFO 2008-02-25 11:06:42,625 WebloggerFactory:bootstrap - Roller Weblogger
business tier successfully bootstrapped
INFO 2008-02-25 11:06:42,625 WebloggerFactory:bootstrap - Version: 4.0
INFO 2008-02-25 11:06:42,625 WebloggerFactory:bootstrap - Revision:
596807
INFO 2008-02-25 11:06:42,625 WebloggerImpl:initialize - Initializing Roller
Weblogger business tier
INFO 2008-02-25 11:06:44,015 ThemeManagerImpl:initialize - Loaded 4 themes
from disk.
INFO 2008-02-25 11:06:44,015 ThreadManagerImpl:initialize - Initializing
task: ScheduledEntriesTask
INFO 2008-02-25 11:06:44,062 ThreadManagerImpl:initialize - Initializing
task: ResetHitCountsTask
INFO 2008-02-25 11:06:44,062 ThreadManagerImpl:initialize - Initializing
task: TurnoverReferersTask
INFO 2008-02-25 11:06:44,078 ThreadManagerImpl:initialize - Initializing
task: PingQueueTask
INFO 2008-02-25 11:06:44,140 IndexManagerImpl:initialize - Index was
inconsistent. Rebuilding index in the background...
DEBUG 2008-02-25 11:06:44,140 IndexManagerImpl:scheduleIndexOperation -
Starting scheduled index operation:
org.apache.roller.weblogger.business.search.operations.RebuildWebsiteIndexOp
eration
DEBUG 2008-02-25 11:06:44,140 WriteToIndexOperation:run - Starting search
index operation
INFO 2008-02-25 11:06:44,187 WebloggerImpl:initialize - Roller Weblogger
business tier successfully initialized
INFO 2008-02-25 11:06:44,187 RollerContext:initializeSecurityFeatures -
Remember Me enabled: true
INFO 2008-02-25 11:06:44,187 RollerContext:initializeSecurityFeatures -
Password Encryption Algorithm set to 'SHA'
INFO 2008-02-25 11:06:44,187 RollerContext:setupVelocity - Initializing
Velocity
DEBUG 2008-02-25 11:06:44,406 RebuildWebsiteIndexOperation:doRun - Indexed
entry 18/02/08 23:54: varios_años_emprendiendo
DEBUG 2008-02-25 11:06:44,468 RebuildWebsiteIndexOperation:doRun - Indexed
entry 2/02/08 13:06: parkimetros_y_picaresca_siempre_de
DEBUG 2008-02-25 11:06:44,562 RebuildWebsiteIndexOperation:doRun - Indexed
entry 25/01/08 11:01: buscar_plaza_de_parking_no
INFO 2008-02-25 11:06:44,593 IPBanFilter:init - INIT IPBanFilter
DEBUG 2008-02-25 11:06:44,593 RebuildWebsiteIndexOperation:doRun - Indexed
entry 21/01/08 9:39: alquiler_de_garajes_contratos_e
INFO 2008-02-25 11:06:44,609 RequestMappingFilter:init - Request mapping
filter initialized, 1 mappers configured.
DEBUG 2008-02-25 11:06:44,609 RebuildWebsiteIndexOperation:doRun - Indexed
entry 14/01/08 10:23: hoy_en_día_el_aparcamiento
DEBUG 2008-02-25 11:06:44,765 RebuildWebsiteIndexOperation:doRun - Indexed
entry 10/01/08 23:46: el_coche_compartido_carpooling_y
DEBUG 2008-02-25 11:06:44,796 RebuildWebsiteIndexOperation:doRun - Indexed
entry 4/01/08 10:00: armando_el_aparcamiento_en_la
DEBUG 2008-02-25 11:06:44,812 RebuildWebsiteIndexOperation:doRun - Indexed
entry 27/12/07 19:33: invertir_en_plazas_de_garaje
DEBUG 2008-02-25 11:06:44,828 RebuildWebsiteIndexOperation:doRun - Indexed
entry 12/12/07 23:38: el_aparcamiento_compartido_según_tuplaza
DEBUG 2008-02-25 11:06:44,921 RebuildWebsiteIndexOperation:doRun - Indexed
entry 7/12/07 11:56: tuplaza_y_el_aparcamiento_compartido
DEBUG 2008-02-25 11:06:44,937 RebuildWebsiteIndexOperation:doRun - Indexed
entry 5/12/07 17:28: bienvenidos_a_nuestro_particular_observatorio
WARN 2008-02-25 11:06:44,968 Settings:getLocale - Settings: Could not parse
struts.locale setting, substituting default VM locale
INFO 2008-02-25 11:06:45,000 RebuildWebsiteIndexOperation:doRun - Completed
rebuilding index for all users in '0.86' secs
DEBUG 2008-02-25 11:06:45,000 WriteToIndexOperation:run - Search index
operation complete
INFO 2008-02-25 11:06:45,296 PageServlet:init - Initializing PageServlet
INFO 2008-02-25 11:06:45,296 WeblogPageCache:<init> - {id=cache.weblogpage,
enabled=true, timeout=3600, size=400}
INFO 2008-02-25 11:06:45,296 CacheManager:<clinit> - Cache Manager
Initialized.
INFO 2008-02-25 11:06:45,296 CacheManager:<clinit> - Cache Factory =
org.apache.roller.weblogger.util.cache.ExpiringLRUCacheFactoryImpl
INFO 2008-02-25 11:06:45,296 SiteWideCache:<init> - {id=cache.sitewide,
enabled=true, timeout=1800, size=50}
INFO 2008-02-25 11:06:45,296 PageServlet:init - Referrer processing enabled
= true
INFO 2008-02-25 11:06:45,312 FeedServlet:init - Initializing FeedServlet
INFO 2008-02-25 11:06:45,312 WeblogFeedCache:<init> - {id=cache.weblogfeed,
enabled=true, timeout=3600, size=200}
INFO 2008-02-25 11:06:45,312 SearchServlet:init - Initializing
SearchServlet
INFO 2008-02-25 11:06:45,312 ResourceServlet:init - Initializing
ResourceServlet
INFO 2008-02-25 11:06:45,312 CommentServlet:init - Initializing
CommentServlet
INFO 2008-02-25 11:06:45,328 CommentValidationManager:<init> - Configured
CommentValidator: Blacklist Comment Validator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.BlacklistCommentVa
lidator
INFO 2008-02-25 11:06:45,328 CommentValidationManager:<init> - Configured
CommentValidator: Excess Links Comment Validator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessLinksComment
Validator
INFO 2008-02-25 11:06:45,328 CommentValidationManager:<init> - Configured
CommentValidator: Excess Size Comment Validator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessSizeCommentV
alidator
INFO 2008-02-25 11:06:45,328 CommentValidationManager:<init> - Configured 3
CommentValidators
INFO 2008-02-25 11:06:45,328 CommentServlet:init - Comment Throttling
DISABLED
INFO 2008-02-25 11:06:45,328 CommentValidationManager:<init> - Configured
CommentValidator: Blacklist Comment Validator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.BlacklistCommentVa
lidator
INFO 2008-02-25 11:06:45,328 CommentValidationManager:<init> - Configured
CommentValidator: Excess Links Comment Validator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessLinksComment
Validator
INFO 2008-02-25 11:06:45,328 CommentValidationManager:<init> - Configured
CommentValidator: Excess Size Comment Validator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessSizeCommentV
alidator
INFO 2008-02-25 11:06:45,328 CommentValidationManager:<init> - Configured 3
CommentValidators
INFO 2008-02-25 11:06:45,343 RSDServlet:init - Initializing RSDServlet
INFO 2008-02-25 11:06:45,343 PlanetFeedServlet:init - Initializing
PlanetRssServlet
INFO 2008-02-25 11:06:45,343 PlanetCache:<init> - Planet cache =
{id=cache.planet, enabled=true, timeout=1800, size=10}
INFO 2008-02-25 11:06:45,343 PreviewResourceServlet:init - Initializing
PreviewResourceServlet
INFO 2008-02-25 11:06:45,343 PreviewThemeImageServlet:init - Initializing
PreviewThemeImageServlet
INFO 2008-02-25 11:06:45,343 PreviewServlet:init - Initializing
PreviewServlet
INFO 2008-02-25 11:07:50,890 ContinuousWorkerThread:run -
HitCountQueueProcessor Started.
INFO 2008-02-25 11:07:50,906 RendererManager:<clinit> - Renderer Manager
Initialized.
INFO 2008-02-25 11:07:50,906 RollerVelocity:<clinit> - Initializing
Velocity Rendering Engine
INFO 2008-02-25 11:07:53,171 Blacklist:<clinit> - Initializing MT Blacklist
WARN 2008-02-25 11:07:53,171 Blacklist:loadBlacklistFromFile - Couldn't
find downloaded blacklist, loaded blacklist.txt from classpath instead
INFO 2008-02-25 11:07:53,171 Blacklist:loadBlacklistFromFile - Number of
blacklist string rules: 3102
INFO 2008-02-25 11:07:53,187 Blacklist:loadBlacklistFromFile - Number of
blacklist regex rules: 15
DEBUG 2008-02-25 11:08:16,015 IndexManagerImpl:executeIndexOperationNow -
Executing index operation now:
org.apache.roller.weblogger.business.search.operations.SearchOperation
DEBUG 2008-02-25 11:08:16,515 IndexManagerImpl:executeIndexOperationNow -
Executing index operation now:
org.apache.roller.weblogger.business.search.operations.SearchOperation
Regards,
Ricardo.
Re: more about search
Posted by Dave <sn...@gmail.com>.
On Thu, Feb 21, 2008 at 11:15 AM, Ricardo Hermida Méndez <rh...@tuplaza.es> wrote:
> I try config my roller to activate search, but I don't know that this failing.
> In my roller-costumer.properties file I have the next lines:
>
> config.expandedProperties=search.index.dir
> search.index.dir=${user.home}/roller_data/search-index
> search.enabled=true
> search.index.comments=true
>
> and I make the folder ./roller_data/search-index over roller's folder
>
> what do I bad?
I don't know. Maybe you can explain more about what is going wrong?
Does Roller create the index in your search-index directory?
What happens when you do a search?
- Dave