Active
Project:
Swish-E Indexer
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2008 at 02:29 UTC
Updated:
5 May 2013 at 20:44 UTC
Well, I have tried to set up this module. I have uploaded a couple of files, indexed them but they do not appear in the search results. I have checked the database - the fulltext fields are filled with text from the files. Does anyone know how to solve this problem?
Comments
Comment #1
joeBro commentedSame with me here.
The settings are all set. Swish-e recognizes all plug-ins (or at least Drupal recognizes the plug-ins' paths), the indexing seems to work (corresponding entries in the database), but a search returns no result. It is maybe interesting to note, that the "Beginn Swish-E Indexing"-Checkbox stays unchecked after checking and saving the settings (I get no error-message, but only an empty bullet point and a "Your Swish-E settings has been saved"-statement).
(see also http://drupal.org/node/163518)
Comment #2
berlinonline2 commentedHi Marcin, Hi joeBro,
I think I have a solution for your problem if you are using swish-e indexer on a windows system. I had the same issue and after an hour I found out that there was a problem with the Slash/Backslash-Handling in the Code. Try to change the following lines in the files mentioned below. That worked fine for me. Good luck.
In File: swish.integration.inc
In File: swish.module
After applying the changes go to the config menue for swish-e and try again the "Begin Swish-E Indexing". After that run cron.php and then try a search. In the advanced search menue you will find a tab called "files" an there you can search within the files.
Comment #3
nrasmus commentedI'm having the same issue here--and I'm on Debian Etch, so I don't think the slash issue is at play here . . .
Comment #4
nrasmus commentedJust checking in about this--I have a multisite install, and am experiencing the same behavior on several sites. For each site where swish is enabled, it looks like each cron run is creating a new swishstring file in its respective tmp directory. Indexing via command line works, but nothing is getting indexed for the particular site. Any ideas?
Comment #5
Miszel commentedHi nrasmus
I have given up using swich indexer and installed this module: http://drupal.org/project/search_attachments
It works all right for me.
For my new project, a multisite, I am trying to use Xapian: http://www.trellon.com/blog/xapian-search-drupal
It looks promising. I have installed it and indexed all my nodes. However I have not tried to index any external files.
Comment #6
geme4472 commentedIn the common.conf file, set reporting to 4, run the on-the-fly indexing, and see if there are troubles on the indexing side of things.
You could also rip open the index file and check that there are words in there. It is semi-human-readable.
If it still looks like everything is fine, the issue is truly on the search side. There's always the chance that apache doesn't have rights to run swish--which may be why you can search from CLI and get results.
Swish-e is insanely fast, and, depending on your needs, might be a great option, so don't give up quite yet!
Comment #7
miiimoooI get this - any ideas why it doesnt use the converters?
Comment #8
airliner commentedAfter editing the files like berlinonline said I got this error:
Indexing aborted. err: IncludeConfigFile: requires one valueAny ideas?
Comment #9
populist commented