I installed version 4.1.1 using docker.
I imported lot of videos and photos into the system.
I cannot find anything using the searchbox, but when i want to see all without filter i can see it correctly.
I checked the search that the system send to elasticsearch, looks like the fields are invalid.
In the query, i see:
"fields": [
"
caption.Object.de",
"caption.Object.en^5",
"
caption.Object.fr",
"
caption.Object.nl",
"caption.Object.light^10",
"caption.Object.truncated",
"
caption.Category.de",
"caption.Category.en^5",
"
caption.Category.fr",
"
caption.Category.nl",
"caption.Category.light^10",
"caption.Category.truncated",
"
caption.SupplCategory.de",
"caption.SupplCategory.en^5",
"
caption.SupplCategory.fr",
"
caption.SupplCategory.nl",
"caption.SupplCategory.light^10",
"caption.SupplCategory.truncated",
"
caption.Keywords.de",
"caption.Keywords.en^5",
"
caption.Keywords.fr",
"
caption.Keywords.nl",
"caption.Keywords.light^10",
"caption.Keywords.truncated",
"
caption.SpecialInstruct.de",
"caption.SpecialInstruct.en^5",
"
caption.SpecialInstruct.fr",
"
caption.SpecialInstruct.nl",
"caption.SpecialInstruct.light^10",
"caption.SpecialInstruct.truncated",
"caption.Date.light",
"caption.Date",
"caption.Date.truncated",
"
caption.Byline.de",
"caption.Byline.en^5",
"
caption.Byline.fr",
"
caption.Byline.nl",
"caption.Byline.light^10",
"caption.Byline.truncated",
"
caption.BylineTitle.de",
"caption.BylineTitle.en^5",
"
caption.BylineTitle.fr",
"
caption.BylineTitle.nl",
"caption.BylineTitle.light^10",
"caption.BylineTitle.truncated",
"
caption.City.de",
"caption.City.en^5",
"
caption.City.fr",
"
caption.City.nl",
"caption.City.light^10",
"caption.City.truncated",
"
caption.Province.de",
"caption.Province.en^5",
"
caption.Province.fr",
"
caption.Province.nl",
"caption.Province.light^10",
"caption.Province.truncated",
"
caption.Country.de",
"caption.Country.en^5",
"
caption.Country.fr",
"
caption.Country.nl",
"caption.Country.light^10",
"caption.Country.truncated",
"
caption.OriginalRef.de",
"caption.OriginalRef.en^5",
"
caption.OriginalRef.fr",
"
caption.OriginalRef.nl",
"caption.OriginalRef.light^10",
"caption.OriginalRef.truncated",
"
caption.Headline.de",
"caption.Headline.en^5",
"
caption.Headline.fr",
"
caption.Headline.nl",
"caption.Headline.light^10",
"caption.Headline.truncated",
"
caption.Credit.de",
"caption.Credit.en^5",
"
caption.Credit.fr",
"
caption.Credit.nl",
"caption.Credit.light^10",
"caption.Credit.truncated",
"
caption.Source.de",
"caption.Source.en^5",
"
caption.Source.fr",
"
caption.Source.nl",
"caption.Source.light^10",
"caption.Source.truncated",
"
caption.Caption.de",
"caption.Caption.en^5",
"
caption.Caption.fr",
"
caption.Caption.nl",
"caption.Caption.light^10",
"caption.Caption.truncated",
"
caption.CaptionWriter.de",
"caption.CaptionWriter.en^5",
"
caption.CaptionWriter.fr",
"
caption.CaptionWriter.nl",
"caption.CaptionWriter.light^10",
"caption.CaptionWriter.truncated",
"caption.Longitude.light",
"caption.Longitude",
"caption.Longitude.truncated",
"caption.Latitude.light",
"caption.Latitude",
"caption.Latitude.truncated",
"
caption.CameraModel.de",
"caption.CameraModel.en^5",
"
caption.CameraModel.fr",
"
caption.CameraModel.nl",
"caption.CameraModel.light^10",
"caption.CameraModel.truncated",
"
caption.FileName.de",
"caption.FileName.en^5",
"
caption.FileName.fr",
"
caption.FileName.nl",
"caption.FileName.light^10",
"caption.FileName.truncated",
"
caption.Caption2.de",
"caption.Caption2.en^5",
"
caption.Caption2.fr",
"
caption.Caption2.nl",
"caption.Caption2.light^10",
"caption.Caption2.truncated"
],
But in elastic search i dont see any of the variables in any of the records.
Example record from elastic search:
"_source" : {
"record_id" : 33,
"collection_id" : 5,
"uuid" : "a0cc6f00-b2dc-44cc-a01b-45aaccbf05e8",
"flags_bitfield" : 0,
"sha256" : "22f7fee1e123bd3f91fe114ffacc952ee20552f809d9896fb43c8130a2a95d84",
"original_name" : "FILE NAME.jpg",
"mime" : "image/jpeg",
"type" : "image",
"created_on" : "2020-06-21 00:35:21",
"updated_on" : "2020-06-21 00:35:22",
"coll_id" : "5",
"collection_name" : "Photos",
"width" : 1024,
"height" : 683,
"size" : 118815,
"base_id" : "6",
"databox_id" : 1,
"databox_name" : "DATABOX NAME",
"record_type" : "record",
"title" : {
"default" : "The title"
},
"caption" : {
"Title" : [ "The title" ],
"Creator" : [ "Name of the creator" ],
"Subject" : [ "Historical", "war", "military" ],
"Description" : [ "Paragraph" ],
"Rights" : [ "copyright (c) 2017" ],
"Filename" : [ "<THE FILE NAME>.jpg" ],
"ArchiveDate" : [ "2020-06-21 00:35:22" ]
},
"caption_all" : [ ... some strings ... ],
"metadata_tags" : {
"Aperture" : 4,
"CameraModel" : "Canon EOS 30D",
"Channels" : 3,
"ColorDepth" : 8,
"ColorSpace" : 0,
"FileSize" : 118815,
"FlashFired" : false,
"FocalLength" : 25,
"Height" : 683,
"HyperfocalDistance" : 8.3282760009793,
"ISO" : 1600,
"LightValue" : 4.6438561897747,
"MimeType" : "image/jpeg",
"Orientation" : 0,
"ShutterSpeed" : 0.04,
"Width" : 1024
},
"flags" : {
"caption_filled" : false
},
"subdefs" : {
"preview" : {
"path" : "/var/alchemy/Phraseanet/datas/db_databox1/subdefs/2020/06/21/00000/33_preview.jpg",
"width" : "1024",
"height" : "683"
},
"thumbnail" : {
"path" : "/var/alchemy/Phraseanet/datas/db_databox1/subdefs/2020/06/21/00000/33_thumbnail.jpg",
"width" : "240",
"height" : "160"
}
}
},
I
tried to add "caption.Title" into the fields array and send it directly
to elasticsearch, then elasticsearch answered with some items.
The question, why the system is trying to search for invalid fields, and how can i solve it to make the search work as expected.