lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Where is Where <>
Subject Re: problem indexing GPS metadata for video upload
Date Thu, 02 May 2019 02:16:08 GMT
Thank you Alex and Tim.
I have looked at the solrconfig.xml file (I am trying the techproducts demo
config), the only related place I can find is the extract handle

<requestHandler name="/update/extract"
                  class="solr.extraction.ExtractingRequestHandler" >
    <lst name="defaults">
      <str name="lowernames">true</str>
      <!--<str name="uprefix">ignored_</str>-->

      <!-- capture link hrefs but ignore div attributes -->
      <str name="captureAttr">true</str>
      <str name="fmap.a">links</str>
      <str name="fmap.div">ignored_</str>

I am using this command bin/post -c techproducts example/exampledocs/1.mp4
-params ""

I have tried commenting out <str name="uprefix">ignored_</str> and changing
to <str name="fmap.div">div</str>
but still not working. I don't quite get why image is getting gps etc
metadata but video is acting differently while it is using the same
solrconfig and the gps metadata are in the same fields. There is no
differentiation in solrconfig setting between image and video.

Tim yes this is related to the TIKA link. Thank you!

Here is the output in solr for mp4.

        "content":[" \n \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n
 \n  \n  \n  \n  \n  \n  \n  \n  \n \n   "],

JPEG is getting these:
"GPS Latitude",
          "37° 47' 41.99\"",
"attr_gps_latitude":["37° 47' 41.99\""],

On Wed, May 1, 2019 at 2:57 PM Where is Where <> wrote:

> uploading video to solr via tika
> The index has no video GPS metadata which is extracted and indexed for
> images such as jpeg. I have checked both MP4 and MOV files, the files I
> checked all have GPS Exif data embedded in the same fields as image. Any
> idea? Thanks!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message