Skip to main content.
home | support | download

Back to List Archive

Re: xml documents

From: Peter Karman <karman(at)not-real.cray.com>
Date: Wed Apr 21 2004 - 17:20:15 GMT
how about:

person.name=(john and smith)

the parentheses should tell the parser 'hey, both these words should be 
in metaname person.name.'

pek

Kevin Lewandowski wrote on 4/21/04 12:03 PM:

> I have a question about searching and indexing xml documents.
> 
> If I index a document like:
> <xml>
>    <person.name>John Smith</person.name>
> </xml>
> 
> I can find it with the query "person.name=john" or "person.name=smith", 
> but not "person.name=john smith".
> Is that correct behavior?
> 
> It seems that when searching xml elements (which become metanames) you 
> can only search single words. To search more than one word you have to 
> search for "person.name=john and person.name=smith". Is there a way 
> around this?
> 
> thanks,
> Kevin

-- 
Peter Karman - Software Publications Engineer - Cray Inc
phone: 651-605-9009 - mailto:karman@cray.com
Received on Wed Apr 21 10:20:16 2004