Hi,

I am unable to get the Swish-E indexer module to run on any of my sites (live or test); the problem seems to be with the main module, though I'm not 100% sure this is the case.

The module appears to install correctly and the swish_fulltext table is created in the database and I enter the paths to the binary files, however when I place a tick in the "Begin Swish-E Indexing" box and click "Save Settings" the page reloads, but the tick is no longer set and the message box at the top of the settings screen appears to be missing the report as all I see is two list item indents like this:

  • .
  • Your Swish-E settings has been saved
  • I'm fairly sure there should be some text in the first list item reporting that indexing has started.

    After this, the cron occasionally reports that the Swish-E module has done something, and I do see the swish_fulltext table begin to populate, however the "fulltext" value in the table is always empty, and even if I manually add the content of a file into this table it does not add this content to the search index (I'm assuming this is done at creation time).

    I would appreciate any help with this as this looks like a very useful module.

    For reference:
    Drupal 5.7 (Been trying since 5.2)
    PHP 5.2.3
    MySQL 5.0.45
    Apache 2.2.26 (Win32)
    Swish-E 2.4.5
    Activeperl 5.10.0

    The Swish-E binaries are installed in the default location C:\SWISH-E\bin\*.exe
    Perl is installed in c:\perl
    All appropriate paths are added in the system path

    Comments

    dana_johnson’s picture

    I am having this same issue. I assume I have something configured incorrectly but I don't have a clue how to diagnose this!

    populist’s picture

    Status: Active » Fixed

    I suspect what is happening is you have not properly configured the individual filters for each module. I added some more descriptive text to the module to explain what is going on.

    dana_johnson’s picture

    I had three problems with my installation (windows, drupal 6.1), this is what I did:

    - I didn't append ".exe" on the applications when defining the paths, fixed that
    - I originally had the SWISH-E installed in the "Program Files" directory. I moved it directly under the volume to avoid the space in the path. Haven't reverified this fix.
    - The getcwd() seemed to be a problem in swish.integration.inc. I modified _swish_do_index() to use hard coded paths to the drupal root when computing full_path, temp_file and file_path. This hack works for now. Since I am < novice at this, I haven't figured out the right general purpose solution.

    Maybe this helps?

    BTW, I am very interested in being able to search multiple directory trees so I can aggregate content from several repositories. Most important is to be able to generate links to files in a directory tree. Multiple trees is my second priority.

    I appreciate your contribution on this module!

    Anonymous’s picture

    Status: Fixed » Closed (fixed)

    Automatically closed -- issue fixed for two weeks with no activity.