Skip to main content.
home | support | download

Back to List Archive

Re: search in the same tag.

From: Peter Karman <peter(at)>
Date: Wed Aug 24 2005 - 12:38:26 GMT
you would need to add some attributes to your tags and use the 
XMLClassAttributes config param. Otherwise, swish-e treats everything in the 
<art> tag as a single metaname.


XMLClassAttributes class

<art class="foo">red green gray</art>
<art class="bar">brown blue yellow</art>

swish-e -w and brown)   # fails
swish-e -w and greed)   # succeeds

Carmelo Carchedi scribbled on 8/24/05 5:20 AM:

> I have some file xml with more tag with same name
> (like paragraph or article)
> it's possible to make a search of two or more words in the same tag?
> example:
> <adoc>
> <art>red green gray</art>
> <art>brown blue yellow</art>
> </adoc>
> the search must fail if words are in different tags:
> swish-e -w art=(red AND brown)
> the search have success if words are in same tag:
> swish-e -w art=(red AND green)

Peter Karman  .  .  peter(at)
Received on Wed Aug 24 05:38:37 2005