W3C home > Mailing lists > Public > www-webdav-dasl@w3.org > April to June 2002

RE: content search

From: Kazeroni, Ladan <Ladan.Kazeroni@softwareag.com>
Date: Fri, 3 May 2002 08:23:51 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106022C3670@daemsg02.software-ag.de>
To: www-webdav-dasl@w3.org
Cc: "'jrd3@alum.mit.edu'" <jrd3@alum.mit.edu>
Thanks for your reply, but my question was different. I noticed that if I
want to do content search I need to select properties too. The DTD is
(select, from, where?,...)
The select option forces me to choose a property, even if just want to do a
content search. That is what I wonder: Why my content search should
return/ask a property search too? (even if content search is optional)
I hope it is clear now.


-----Original Message-----
From: Jim Davis [mailto:jrd3@alum.mit.edu]
Sent: Thursday, May 02, 2002 6:11 PM
To: Kazeroni, Ladan; www-webdav-dasl@w3.org
Subject: Re: content search

At 06:31 AM 5/2/02 -0400, Kazeroni, Ladan wrote:
>Date: Thu, 2 May 2002 03:47:48 -0400 (EDT)
>From: "Kazeroni, Ladan" <Ladan.Kazeroni@softwareag.com>
>To: "'www-webdav-dasl@w3.org'" <www-webdav-dasl@w3.org>
>Why the content search need to perform property search too (from DTD)?
>regards- Ladan

I am not sure I understand your question.

If you mean "Why is content search different from other property searches?" 
it is because content search is more difficult to implement.  An ordinary 
property search can use a table.  There is one row for each document, and 
one column for each property.  It is easy and fast to test each document to 
decide whether it has the property.  But for content search, you must look 
at every word in the document.

You would use a property search, for example, to find a document where you 
know the date and the name of the author.  You would use a content search 
where you know some words that are in the document.

Every database can do property searches, but not every database can do 
content search.  That is why content search is optional in DASL.

I hope this helps.  If it does not help, please ask your question again.
Received on Friday, 3 May 2002 02:24:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:22:43 UTC