HTTP-Indexer

From phpCMS

Jump to: navigation, search

[edit] Using the HTTP Indexer via the GUI

The HTTP Indexer too is operated via the GUI. After Selecting HTTP Indexer you get a page where you can either select a formerly created indexing profile for your current indexing session or create a new profile using the Profile Wizard (click on the item of that name in the top menu bar). That wizard offers a context sensitive online help, so no further explanations are needed here.
On the start page - where you will come back to after successfully creating a profile - you can

  • start the indexing process (Create Index),

and it offers two more functions:

  • there is a possibility to test the newly created index (Test Search), and
  • you can run a word analysis. That function enables you to know the number of occurrences of indexed words, which for example can help you to identify stop word candidates.

[edit] Using the HTTP Indexer with shell access

You can only run the indexer in this mode if you have already created the indexing profile to be used.
Furthermore the PHP interpreter on your server has to be compiled (additionally) as CGI or CLI version, so that it allows running PHP scripts directly from the console.

It is very simple to start the indexer. On the console

  • change into the parser directory,
  • enter 'php shell_indexer.php [ProfileName]', ProfileName being the name that you entered in the Profile Wizard in the GUI when creating the profile.

After its start, the indexer issues messages similar to those of the HTTP Indexer run from the GUI.
Generally the indexing process run from the console is faster that the one run from the GUI.

Personal tools