Skip to main content.
home | support | download

Back to List Archive

Re: xml documents

From: Kevin Lewandowski <kevin(at)not-real.discogs.com>
Date: Wed Apr 21 2004 - 17:20:29 GMT
ahh, that works. thanks!

On Wednesday, April 21, 2004, at 10:09 AM, Peter Karman wrote:

> 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
>
>

________________
Kevin Lewandowski
Discogs - http://www.discogs.com
Received on Wed Apr 21 10:20:29 2004