Schema Central  >  LEXS 4.0  >  ulex.xsd  >  ulex:MatchDetails
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Advanced XML Applications

 

ulex:MatchDetails

A description of why a Data Item was matched in a search.

Element information

Namespace: http://ulex.gov/ulex/2.0

Schema document: ulex.gov/ulex/2.0/ulex.xsd

Type: ulex:MatchDetailsType

Properties: Global, Qualified

Content

  • Sequence [1..1]
    1. ulex:MatchObjectDetails [0..*]A set of search terms that were matched as part of an object hit.
    2. ulex:SnippetText [0..1]A summary of information that represents the context of this Data Item in the responding system. Conceptually similar to the results returned from a Google search.
    3. ulex:StructuredQueryMatchScorePercent [0..1]A structured query match score is a decimal between 0 and 1 representing a hit percentage. Service providers will make best effort to answer queries the way they are asked. Structured query match score represents the number of search elements that were matched for a structured search query. A result that matches all requested fields is always a perfect match, represented by the value 1. Match scores for structured queries where the service provider had to ignore one or more search terms will be provided using numbers less than 1 to represent the percentage. Structured query match score is not applicable for text search results.

Attributes

None

Used in

Sample instance

<ulex:MatchDetails>
   <ulex:StructuredQueryMatchScorePercent>1</ulex:StructuredQueryMatchScorePercent>
</ulex:MatchDetails>