Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Searching for a filename, not contents of a file

From: Chad Kellerman <sunckell(at)not-real.gmail.com>
Date: Thu Oct 08 2009 - 19:57:43 GMT
On Thu, Oct 8, 2009 at 3:53 PM, Peter Karman <peter@peknet.com> wrote:

> Chad Kellerman wrote on 10/8/09 2:51 PM:
> > Thanks for the link, but I added
> >
> > MetaNames swishdocpath
> >
> > to my config file, ran the reindex job, yet I still don't get the
> > filename in the search?
> >
> > Is there something conflicting in my conf file?
>
> I didn't notice anything obvious.
>
> How did you search? You must specify the metaname:
>
>  swish-e -w foo or swishdocpath=foo
>
> [user@host11]# swish-e -w swishdocpath=sunckell.txt
# SWISH format: 2.4.6
# Search words: swishdocpath=sunckell.txt
# Removed stopwords:
err: no results


When I indexed with that config options file here are the results:

Indexing Data Source: "File-System"
Indexing "/safe/Production"
Removing very common words...
no words removed.
Writing main index...
Sorting words ...
Sorting 46,448 words alphabetically
Writing header ...
Writing index entries ...
  Writing word text: Complete
  Writing word hash: Complete
  Writing word data: Complete
46,448 unique words indexed.
5 properties sorted.
1,705 files indexed.  179,464,119 total bytes.  416,407 total words.
Elapsed time: 00:00:03 CPU time: 00:00:03
Indexing done!



>
>
> --
> Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
> _______________________________________________
> Users mailing list
> Users@lists.swish-e.org
> http://lists.swish-e.org/listinfo/users
>



-- 
A grasshopper walks into a bar and the bartender says "Hey, we have a drink
named after you." And the grasshopper says "Really, You have a drink named
Murray?"


_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu Oct 8 15:57:46 2009