[opencms-dev] Cant get lucien search to index news in database

Kelvin kelvin.ang at resonance.com.sg
Fri Jul 30 04:18:01 CEST 2004


Hi, sorry for the late reply.
Anyway, I didnt get any error messages from the log file. All that I have 
is the message below when the cron schedule runs:
--------------------
[30.07.2004 10:14:17] <opencms_cronscheduler> Successful launch of job 
com.opencms.core.CmsCronEntry{14 10 * * * admin Administrators 
net.grcomputing.opencms.search.lucene.CronIndexManager createIndex=true} 
Message: CronIndexManager rebuilt the Lucene index on Fri Jul 30 10:14:17 
SGT 2004
-------------------
I suspect that the cron job is simply just not indexing the database. The 
indexing of the normal pages works fine, so I really have no idea what the 
problem is. Please help. Thanks

At 02:06 PM 7/26/2004, you wrote:
>Do you get any error messages in the opencms.log after the cron job has
>started?
>
>----- Original Message -----
>From: "Kelvin" <kelvin.ang at resonance.com.sg>
>To: <opencms-dev at opencms.org>
>Sent: Monday, July 26, 2004 4:11 AM
>Subject: [opencms-dev] Cant get lucien search to index news in database
>
>
> > Hi All,
> >
> > I managed to get the lucien search to index the pages in my website, but I
> > can't seem to get it to index the news articles in the database. I have
> > added "!" value manually to the "info_1", "info_2","info_3" fields in the
> > database so that there is no null fields. I really need to get this
>working
> > ASAP. Can anyone give me any suggestions as what i need to do?Thanks.
> >
> > Regards,
> > Kelvin
> >
> > Registry.xml
> > ------------------------
> >              <contentDefinitions>
> >                  <contentDefinition type="news">
> >
><class>com.opencms.modules.homepage.news.NewsContentDefinition</class>
> >
><initClass>net.grcomputing.opencms.search.lucene.NewsInitialization</initCla
>ss>
> >                      <listMethod name="getNewsList">
> >                          <param type="java.lang.Integer">2</param>
> >                          <param type="java.lang.String">-1</param>
> >                      </listMethod>
> >                      <page uri="/news/earnings.jsp?__element=entry">
> >                          <param method="getIntId" name="newsid"/>
> >                      </page>
> >                  </contentDefinition>
> >                  <contentDefinition type="news">
> >
><class>com.opencms.modules.homepage.news.NewsContentDefinition</class>
> >
><initClass>net.grcomputing.opencms.search.lucene.NewsInitialization</initCla
>ss>
> >                      <listMethod name="getNewsList">
> >                          <param type="java.lang.Integer">1</param>
> >                          <param type="java.lang.String">-1</param>
> >                      </listMethod>
> >                      <page uri="/news/earnings.jsp?__element=entry">
> >                          <param method="getIntId" name="newsid"/>
> >                      </page>
> >                  </contentDefinition>
> >              </contentDefinitions>
> >
> > Schedule task
> > ---------------------
> > 40 15 * * * admin Administrators
> > net.grcomputing.opencms.search.lucene.CronIndexManager createIndex=true
> >
> >
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev






More information about the opencms-dev mailing list