roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: more about search
Date Tue, 26 Feb 2008 03:33:07 GMT
>  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

Mime
View raw message