Compounding the queries doesn't quite give the results that I want - because
it combines the results at the document level but not a specific node.
Consider the document below.
<root>
<a>
<b>bar</b>
</a>
<a>
<c>foo</c>
</a>
<b>foo</b>
</root>
a.b = (foo) -- SHOULD BE FALSE
but
a = (foo) AND b = (foo) -- WILL RETURN TRUE
----- Original Message -----
From: "Peter Karman" <peter@peknet.com>
To: "Swish-e Users Discussion List" <users@lists.swish-e.org>
Sent: Friday, October 05, 2007 6:21 AM
Subject: Re: [swish-e] hierarchical metanames
>
>
> On 10/04/2007 08:00 PM, Ravi Murthy wrote:
>> Hi,
>> I am currently using swish-e 2.5.6 to index a collection of XML
>> documents. I have the foll. config option to automatically index all XML
>> tag names as metanames.
>>
>> UndefinedMetaTags auto
>>
>> I am able to search for keywords in the context of a metaname. However
>> there doesn't seem to be any way to specify a hierarchical context. E.g.
>> consider the following document:
>>
>> <a>
>> <b>
>> <c>foo</c>
>> </b>
>> <e>
>> <c>bar</c>
>> </e>
>> </a>
>>
>> I can search in the context of one metaname as follows:
>> a = (foo)
>> b = (foo)
>> c = (foo)
>>
>> But I am not able to specify the hierarchical context:
>> b.c = (foo)
>> - or -
>> a.b.c = (foo)
>>
>> Is there any mechanism currently in swish-e to perform this sort of
>> search?
>>
>
> compound your queries?
>
> a = foo AND b = foo AND c = foo
>
> --
> Peter Karman . peter(at)not-real.peknet.com . http://peknet.com/
>
> _______________________________________________
> Users mailing list
> Users@lists.swish-e.org
> http://lists.swish-e.org/listinfo/users
>
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri Oct 5 14:37:53 2007