W3C home > Mailing lists > Public > www-zig@w3.org > July 2008

CQL searching for IP ranges

From: Mike Taylor <mike@indexdata.com>
Date: Mon, 14 Jul 2008 16:17:54 +0100 (BST)
To: azaroth@liverpool.ac.uk
Cc: www-zig@w3.org
Message-Id: <20080714151754.7384D4412B@localhost.localdomain>

We have a CQL application that needs to search records by IP range:
for example, if we have a record with an ip-ranges field:
then we need to be able to search for:
	net.ipRanges encloses/net.ipAddress
and have the server understand from that query that we're looking for
the term to be interpreted as a dotted address, with ordering defined

We therefore ask for the following elements to be added to the Network
Context Set as defined at:

	index: ipRanges
	relation modifier: ipAddress

(We can't just use the existing net.host index, since this querty
explicitly needs an IP address, with its ordering rules, rather than a
symbolic name.)

 _/|_	 ___________________________________________________________________
/o ) \/  Mike Taylor    <mike@indexdata.com>    http://www.miketaylor.org.uk
)_v__/\  "I was being tongue-in-cheek, but did feel your little mock
	 assault was a tad opportunistic, in a cuddly sort of way" --
	 Sebastian Hammer.
Received on Monday, 14 July 2008 15:17:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:26:07 UTC