the best way to get results for certain words is to make sure they are
in the document set. There's no sense of a word 'alias' in swish-e. You
either need to add those words to your documents (usually via a filter
when indexing), or add logic in your searching code to search for
'mailfilter' whenever any of the other magic words appear in a query string.
your last requirement, showing all 'mailfilter' matches when there are
no hits for the original query, needs to be done in the search code
anyway, so that might be the best place to do everything.
you don't mention if you are using any of the supplied scripts:
swish.cgi, search.cgi, etc.
pek
sivabalakrishnan scribbled on 6/19/06 7:17 AM:
> Hello,=20
>
> I am using swish-e 2.4.3 for searching in my web. I have the word =
> "mailfilter" in some documents in my web. So indexing my web and search =
> for "mailfilter" results the pages which has the mailfilter. But i am in =
> need to create some aliases like, if a user types the word "Mail =
> filter" or "mail" or "filter" or "vmailfilter" and searches which are =
> not in my web pages, it should automaticall show all the pages of =
> "mailfilter".
>
> Please guide me how to do this with swish-e.
>
> Thanks in advance .
>
> -siva
>
>
>
> *********************************************************************
> Due to deletion of content types excluded from this list by policy,
> this multipart message was reduced to a single part, and from there
> to a plain text message.
> *********************************************************************
>
--
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Wed Jun 21 09:49:52 2006