Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-6862

Sax all geocode coordinates on FO search service

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.8
    • None
    • Plugin : Web
    • None

      Today, we are able to index several geocode fields.
      But these index are not used, because the deafult SearchGenerator sax only the first found value.

      It will be best to sax each found geocode values of the index result.

          [CMS-6862] Sax all geocode coordinates on FO search service

          All geocode metadata are correctly indexed but only the one is saxed as latitude/longitude of a hit :

          <hit>
                  <title>Licence Mathématiques</title>
                  <latitude>43.6026314</latitude>
                  <longitude>1.4550607999999556</longitude>
                  <content>
                      <title>Licence Mathématiques</title>
                      <geocodes>
                              <entry name="1">
                                      <geocode latitude="43.5985196" longitude="1.4130513000000064"></geocode>
                              </entry>
                              <entry name="2">
                                      <geocode latitude="43.57032239999999" longitude="1.467920499999991"></geocode>
                              </entry>
                              <entry name="3">
                                     <geocode latitude="43.6026314" longitude="1.4550607999999556"></geocode>
                              </entry>
                      </geocodes>
                  </content>
          </hit>
          

          Laurence Aumeunier added a comment - All geocode metadata are correctly indexed but only the one is saxed as latitude/longitude of a hit : <hit> <title> Licence Mathématiques </title> <latitude> 43.6026314 </latitude> <longitude> 1.4550607999999556 </longitude> <content> <title> Licence Mathématiques </title> <geocodes> <entry name= "1" > <geocode latitude= "43.5985196" longitude= "1.4130513000000064" > </geocode> </entry> <entry name= "2" > <geocode latitude= "43.57032239999999" longitude= "1.467920499999991" > </geocode> </entry> <entry name= "3" > <geocode latitude= "43.6026314" longitude= "1.4550607999999556" > </geocode> </entry> </geocodes> </content> </hit>

            trizzi Thibaut Rizzi (Inactive)
            ogehin Olivier Gehin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: