Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] searching metanames and document

From: Bill Moseley <moseley(at)>
Date: Mon Nov 05 2007 - 15:32:10 GMT
On Mon, Nov 05, 2007 at 01:08:03AM -0500, Michael Peters wrote:
> Maybe I'm just blind or dumb but I can't quite get this to work. I have some XML
> documents with various meta tags and properties that I've defined in my swish
> config. I want to be able to do full text searches on the whole document or
> limit those by meta tags. It's finding the text in the meta tags, but not in the
> document.
> swish-e -w title=perl # this returns the right result
> swish-e -w perl       # this doesn't return anything

swish-e -w perl is shortcut notation for
swish-e -w swishdefault=perl

swishdefault is the metaname used if no other metaname is in active
for a word when indexing.

> Now, from reading the docs it says this:
>   Swish also, by default, indexes content of meta tags. So:
>     swish-e -w foo
>   will find "foo" in the body, the title, or any meta tags
> Which is what I want it to do, but it's not doing it. My config looks like this:

Try indexing with -T indexed_words to see what meta tag each word is
indexed with.

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:

Users mailing list
Received on Mon Nov 5 10:32:11 2007