Skip to main content.
home | support | download

Back to List Archive

Re: searching XML documents

From: Peter Karman <karman(at)>
Date: Mon Apr 05 2004 - 14:38:41 GMT
Please CC: the list when you ask questions; that way others can learn.

swishe wrote on 4/2/04 1:18 PM:

> I suppose that we are not talking about the same thing.
> We don't know if it is possible to search with and without attributes
>   e.g. swish-e -w key=value    and swish-e -w value
> when using config directives
>    UndefinedMetaTags auto
>    UndefinedXMLAttributes auto

all text is indexed under SOME metaname (as Bill noted). If you want a 
default search to look in all metanames, or a specific metaname, you 
need to do something like this:

UndefinedMetaTags auto
MetaNameAlias swishdefault record

then a search for

swish-e -w foo
swish-e -w title=foo

should both work.

Bill, please correct me if I'm wrong.


Peter Karman - Software Publications Engineer - Cray Inc
phone: 651-605-9009 -
Received on Mon Apr 5 07:38:42 2004