OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Indexing - How and how often

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Indexing - How and how often

Postby nef » Thu Sep 23, 2010 6:31 am

Hi
How do I get the OJS to run a scheduled task indexing full text articles?
If we run it ourselves on our server, it will index all our journals with all articles, new and old, and it should of course only run the new ones - the un-indexed.
I thought that OJS provided that automatically when you upload an article, but apparently it does not.
How do I solve that problem?
Cheers
Niels Erik
nef
 
Posts: 257
Joined: Fri Jun 01, 2007 2:56 am
Location: Aarhus, Denmark

Re: Indexing - How and how often

Postby jmacgreg » Thu Sep 23, 2010 4:44 pm

Hi Niels Erik,

My understanding is that OJS indexes articles when galleys are uploaded, so you shouldn't have to run the rebuild script to reindex. However, OJS only automatically indexes HTML galleys by default: to index PDF/PS/DOC, you have to configure the pdftotext/pstotext/etc. parameters in your config.inc.php. Once these parameters are set, you *will* have to run tools/rebuildSearchIndex.php to re-index anything that wasn't indexed previously; but after that, any PDF/PS/DOC file that's uploaded as a galley should be indexed automatically.

Cheers,
James
jmacgreg
 
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 4 guests