Skip to main content.
home | support | download

Back to List Archive

Re: xml documents

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Wed Apr 21 2004 - 17:47:21 GMT
On Wed, Apr 21, 2004 at 10:03:05AM -0700, Kevin Lewandowski wrote:
> 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?

Yes, because what you are saying is:

   person.name=john swishdefault=smith

What you want is

   person.name=(john smith)

-- 
Bill Moseley
moseley@hank.org
Received on Wed Apr 21 10:47:21 2004