> 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.