Re: Wildcard

"Howard L. Funk" <[email protected]> Thu, 2 Nov 2006 13:54:50 -0800 (PST)
Newsgroups gmane.comp.web.swish-e
Message-ID <[email protected]>
In reply to the request for an example,

go to http://www.nnp.org the files contain both the words master and 
masters. A search for either of these words gives the correct result.
A search for sponsor yields one result. A search for sponsors yields 
one result. A search for sponsor* finds sponsor, sponsors, and sponsorhip.

However a search for sponsor? which I would expect to find sponsor 
and sponsors finds only sponsor/

It took me a little while to find an example that would not yield 
dozens or more results.

I hope this information can be of help in resolving my problem.

Howard


At 04:05 PM 11/2/2006, you wrote:
>[pkarman@alpc:~/tmp]$ swish-e -w fo?
># SWISH format: 2.4.4
># Search words: fo?
># Removed stopwords:
># Number of hits: 1
># Search time: 0.000 seconds
># Run time: 0.014 seconds
>1000 foo.html "foo.html" 23
>.
>[pkarman@alpc:~/tmp]$ swish-e -w f?o
># SWISH format: 2.4.4
># Search words: f?o
># Removed stopwords:
># Number of hits: 1
># Search time: 0.000 seconds
># Run time: 0.014 seconds
>1000 foo.html "foo.html" 23
>.
>[pkarman@alpc:~/tmp]$ cat foo.html
>foo bar
>
>can you give more details on what isn't working? examples we can 
>reproduce are
>always best.
>
>Howard L. Funk scribbled on 11/2/06 2:29 PM:
> > Single character wildcard.
> >
> > I am not using stemming. The question mark (?) is not in my stopwords file.
> >
> > The single character wildcard "?" does not work either at the end of
> > a word or in the middle.
> >
> > The any number of characters wildcard (*) does work.
> >
> > Any help would be appreciated.
> >
> > Howard
> >
>
>--
>Peter Karman  .  http://peknet.com/  .  [email protected]