Skip to main content.
home | support | download

Back to List Archive

problem: swish-e index content of file but not index file name

From: Alan Tigri <ATigri(at)>
Date: Mon Jan 27 2003 - 17:35:49 GMT
My platform: 
swish-e 2.2.2
SuSE Linux 7.0 (i386) - Kernel 2.2.16 (0)

I index a file system.
With my configuration swish-e index correctly content of file
(for example .doc, .txt file) but NOT index the file name.
What is wrong?

This is my configuration file:

WordCharacters abcdefghijklmnopqrstuvwxyz0123456789.-_@#~
IgnoreFirstChar .-
IgnoreLastChar  .-
BeginCharacters abcdefghijklmnopqrstuvwxyz0123456789_
EndCharacters   abcdefghijklmnopqrstuvwxyz0123456789
IndexReport 3

IgnoreWords file: stopwords/my_stopwords.txt

#TranslateCharacters :ascii7:
#Alan: commentato perch in italiano servono gli accenti 

BumpPositionCounterCharacters |.

IncludeConfigFile common.config

IndexName "Alan Tigri (aprati/pub)"
IndexDescription "Alan Tigri (aprati/pub)"
IndexPointer ""
IndexAdmin "Alan Tigri ("

IndexFile index_pub.swish-e
MetaNames first author

# Index the example config files and .pdf files
# in the current directory (and sub directories)

IndexDir pub
IndexOnly .txt .htm .html .pdf .doc .xls .xml .mdb .gif .jpg .zip .rtf .pps
.ppt .flo

DefaultContents HTML2
IndexContents TXT2 .doc .txt .mdb .gif .jpg .zip .pps .ppt .rtf .flo
IndexContents XML2 .xml
NoContents .mdb .gif .jpg .pps .ppt .flo

# Assign the filter to .pdf files
# Please see docs on what data can be passed to the filter.

FileFilter .pdf /home/claudio/swish-e-2.2.2/filter-bin/

#Alan: indicizzo i .doc usando il programma catdoc
FileFilter .doc       /usr/local/bin/catdoc "-s8859-1 -d8859-1 '%p'"

#Alan: indicizzo i .doc usando il programma catdoc
FileFilter .xls       /usr/local/bin/xls2csv "-s8859-1 -d8859-1 '%p'"

FileFilter .zip /home/claudio/swish-e-2.2.2/filter-bin/ "'%p'"

FileFilter .rtf /home/claudio/swish-e-2.2.2/filter-bin/rtf2html "'%p'"

StoreDescription TXT2 200
StoreDescription HTML2 <body> 200
StoreDescription XML2  <desc> 200

	Alan Tigri
	phone: +39 0536 862 489
Received on Mon Jan 27 17:36:07 2003