forked from geosolutions-it/MapStore
-
Notifications
You must be signed in to change notification settings - Fork 0
Simple Search
tdipisa edited this page Oct 11, 2012
·
1 revision
Simple search allow users to perform an "any text" search on the catalog. The Requests are all submitted to the service via HTTP POST, XML in the body of the request.
Exemple payload:
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
service="CSW"
version="2.0.2"
resultType="results"
outputFormat="application/xml"
outputSchema="http://www.opengis.net/cat/csw/2.0.2"
startPosition="1" maxRecords="10">
<csw:Query typeNames="csw:Record">
<csw:ElementSetName>full</csw:ElementSetName>
<csw:Constraint version="1.1.0">
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:And>
<ogc:PropertyIsLike wildCard="*"
singleChar="."
escapeChar="!">
<ogc:PropertyName>apiso:AnyText</ogc:PropertyName>
<ogc:Literal>land</ogc:Literal><!-- text in textfield -->
</ogc:PropertyIsLike>
</ogc:And>
</ogc:Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>