Index Files


1. Target Files:
    Input a website or folder which you want to index for search.
    If you want to create a search engine which can search a website, just input this website's URL here, eg. http://www.ssforge.com/
    If the SSForge server runs on a Linux computer, and you want to index a folder on this computer for search, you can input that folder's path here, eg.  /var/www/html/
    If the SSForge server runs on a Windows computer, and you want to index a folder on this computer for search, you can input that folder's path here, eg.  C:\Inetpub\wwwroot\

    Note: Please add '/' at end if it's a website folder instead of a website page. For example, input "http://www.ssforge.com/folder/" instead of "http://www.ssforge.com/folder"
    Correlative links: When index website and when folder?


2. Replace URL:
    Input a URL to replace the "Target Files" when output search results.
    For example, if you input a folder like "/var/www/html/" as "Target Files" above to index, but you want the search engine output search results links starting with a website like "http://www.ssforge.com/" instead of "/var/www/html/", you can input "http://www.ssforge.com/" here. Then the SSForge just index the folder on it's computer, but output search results as Internet HTTP links. In this way, SSForge will index very fast because no need to connect to Internet to get data.


3. Index Mode:
    Select an index mode:

    a. Update existing index:
        Update mode will check existing indexed data and re-index changed files, add new added files, remove deleted files which belong to the inputted "Target Files". This will make the corresponding existing indexed data synchronized with the inputted target files.
        Note: Update mode will only synchronize the corresponding parts of the existing indexed data, and ignore old data which not belong to this target files. You can use clear mode below if want to clear all the old data.

    b. Add new into existing index:
        Add mode won't check existing indexed data,  just index this inputted target files and add data into existing indexed data. With this mode, you can index multiple websites or folders into one search engine.

    c. Clear existing index then re-index:
        Clear all existing indexed data, then index this inputted target files. This mode will delete all the existing indexed data before new indexing.