Thanks,
with:
MetaNames swishdocpath
and
swish-e -w <query> or swishdocpath=<query> -f index_pub.swish
i have resolved my problem.
bye.
> -----Messaggio originale-----
> Da: Bill Moseley [SMTP:moseley@hank.org]
> Inviato: luned́ 27 gennaio 2003 19.08
> A: Alan Tigri
> Cc: Multiple recipients of list
> Oggetto: Re: [SWISH-E] problem: swish-e index content of file but not
> index file name
>
> On Mon, 27 Jan 2003, Alan Tigri wrote:
>
> > 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?
>
> I don't understand the problem. Do you mean you cannot *search* by
> filename .doc or .txt files?
>
> Filenames are not normally indexed (unless you use NoContents as below).
> If you want to search path names you could use:
>
> MetaNames swishdocpath
>
> > IndexOnly .txt .htm .html .pdf .doc .xls .xml .mdb .gif .jpg .zip .rtf
> .pps .ppt .flo
> > NoContents .mdb .gif .jpg .pps .ppt .flo
>
> > # Assign the pdf2text.pl 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/_pdf2html.pl
>
> By the way, running a Perl filter via the FileFilter directive can be slow
> if you are filtering a lot of files due to the startup cost of perl.
>
>
> --
> Bill Moseley moseley@hank.org
>
>
Received on Tue Jan 28 08:24:56 2003