Re: "Starts with" comparison in search

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: "Starts with" comparison in search

by Julian Reschke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Cyrus Daboo wrote:
>
> Hi,
> Is it too late to consider adding a "startswith" comparison operation to
> the basicsearch grammar in the SEARCH extension? I think that is a key
> string match operation to have in addition to "contains".

Hi Cyrus,

are we talking about properties, or about content?

For properties, you can use DAV:like, with something like "prefix%" (see
<http://greenbytes.de/tech/webdav/draft-reschke-webdav-search-17.html#rfc.section.5.15>).

BR, Julian


Parent Message unknown RE: "Starts with" comparison in search

by John Barone :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


+1   would be nice

-John

-----Original Message-----
From: w3c-dist-auth-request@... [mailto:w3c-dist-auth-request@...]
On Behalf Of Cyrus Daboo
Sent: Monday, August 11, 2008 7:35 AM
To: w3c-dist-auth@...; www-webdav-dasl@...
Subject: "Starts with" comparison in search


Hi,
Is it too late to consider adding a "startswith" comparison operation to
the basicsearch grammar in the SEARCH extension? I think that is a key
string match operation to have in addition to "contains".

--
Cyrus Daboo





This email and any attachments may contain confidential and proprietary
information of Blackboard that is for the sole use of the intended
recipient.  If you are not the intended recipient, disclosure, copying,
re-distribution or other use of any of this information is strictly
prohibited.  Please immediately notify the sender and delete this
transmission if you received this email in error.


Parent Message unknown RE: "Starts with" comparison in search

by John Barone :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Err... True.  Disregard my +1

-John

-----Original Message-----
From: w3c-dist-auth-request@... [mailto:w3c-dist-auth-request@...]
On Behalf Of Cyrus Daboo
Sent: Monday, August 11, 2008 8:09 AM
To: Julian Reschke
Cc: w3c-dist-auth@...; www-webdav-dasl@...
Subject: Re: "Starts with" comparison in search


Hi Julian,

--On August 11, 2008 5:00:33 PM +0200 Julian Reschke
<julian.reschke@...> wrote:

> are we talking about properties, or about content?
>
> For properties, you can use DAV:like, with something like "prefix%"
> (see
> <http://greenbytes.de/tech/webdav/draft-reschke-webdav-search-17.html#
> rfc
> .section.5.15>).

Ah yes. That is probably sufficient for the vast majority of use cases I
can think of.

--
Cyrus Daboo





This email and any attachments may contain confidential and proprietary
information of Blackboard that is for the sole use of the intended
recipient.  If you are not the intended recipient, disclosure, copying,
re-distribution or other use of any of this information is strictly
prohibited.  Please immediately notify the sender and delete this
transmission if you received this email in error.