integration_documentation:response_xml

integration_documentation:response_xml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
integration_documentation:response_xml [2020/02/20 14:28]
florian [<products/>]
integration_documentation:response_xml [2020/02/20 14:36]
florian
Line 25: Line 25:
  
 See our [[https://​github.com/​findologic/​xml-response-schema/​blob/​v2.1.0/​schema.xsd|xsd scheme]] for further information. See our [[https://​github.com/​findologic/​xml-response-schema/​blob/​v2.1.0/​schema.xsd|xsd scheme]] for further information.
 +
 +\\
  
 ==== The XML elements in detail ==== ==== The XML elements in detail ====
  
-\\  
  
 ==== <​servers/>​ ==== ==== <​servers/>​ ====
Line 189: Line 190:
  
 <code xml><​products>​ <code xml><​products>​
-    <product id="​666">​ +    <product id="​666" relevance="​15.265">​ 
-    <product id="​123">​+    <product id="​123" relevance="​14.361">
   </​products></​code>​   </​products></​code>​
  
Line 197: Line 198:
 === <​product/>​ === === <​product/>​ ===
  
-<code xml><​product id="​123">​+<code xml><​product id="​123" relevance="​14.361">
       <​properties>​       <​properties>​
         ...         ...
Line 206: Line 207:
   * ''​id''​   * ''​id''​
     * Indicates the ID of the respective product transmitted in the export.     * Indicates the ID of the respective product transmitted in the export.
 +  * ''​relevance''​
 +    * Indicates the relevance of the respective product.
  
 ---- ----
Line 519: Line 522:
 ==== Example ==== ==== Example ====
  
-The following example is fictitious ​and contains all possible elements at the same time.+The following example is fictional ​and contains all possible elements at the same time.
  
-  ​<​searchResult>​+<code xml><​searchResult>​
     <​servers>​     <​servers>​
-      <​frontend>​frontend.findologic.com</​frontend>​ +      <​frontend>​frontend9.findologic.com</​frontend>​ 
-      <​backend>​frontend.findologic.com</​backend>​+      <​backend>​backend12.findologic.com</​backend>​
     </​servers>​     </​servers>​
     <​query>​     <​query>​
       <limit first="​0"​ count="​10"/>​       <limit first="​0"​ count="​10"/>​
       <​queryString>​Test</​queryString>​       <​queryString>​Test</​queryString>​
-      <​searchedWordCount>​1</​searchedWordCount>​ 
-      <​foundWordCount>​1</​foundWordCount>​ 
     </​query>​     </​query>​
     <​landingPage link="​http://​www.example.com/​imprint"​ />     <​landingPage link="​http://​www.example.com/​imprint"​ />
Line 538: Line 539:
     </​results>​     </​results>​
     <​products>​     <​products>​
-      <product id="​666" ​direct="1"/>+      <product id="​666" ​relevance="15.311"/>
         <​properties>​         <​properties>​
           <​property name="​propertyName">​propertyValue1</​property>​           <​property name="​propertyName">​propertyValue1</​property>​
         </​properties>​         </​properties>​
-      <product id="​123" ​direct="2"/>+      <product id="​123" ​relevance="14.363"/>
         <​properties>​         <​properties>​
           <​property name="​propertyName">​propertyValue2</​property>​           <​property name="​propertyName">​propertyValue2</​property>​
Line 564: Line 565:
                 <​name>​Unteruntergruppe</​name>​                 <​name>​Unteruntergruppe</​name>​
                 <​weight>​0.985228</​weight>​                 <​weight>​0.985228</​weight>​
-                <​frequency>​4</​frequency>​+                <​frequency ​type="​relative"​>​4</​frequency>​
                   <​items>​                   <​items>​
                      ...                      ...
Line 609: Line 610:
      </​other>​      </​other>​
     </​filters>​     </​filters>​
-  </​searchResult>​+  </​searchResult></​code>