-
I'm running the official docker image of Photoprism, version output is 220901-f493607b0-Linux-AMD64. Instance seems to be running properly, logs show indexing happening as expected. I have thousand of pictures taken in the area I live and all of them show the location properly in the card view, lat and long are present. However, when I search for the name of the location, only 15 pictures will display. Most, if not all photos I reviewed have the Place attribute showing the location properly, however, it seems that search will only find the ones which the name of the place somehow ended in the title or keyword attributes. Is this the expected behavior? If yes, why place will show as a keyword for some photos and not others? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Keywords are created from various sources, including, for example, the file and folder names or reverse geocoding. So if files have the same lat/lng but different file and folder names, the keywords may differ. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
That's possible as we implemented a simple text search that works on top of all databases including Sqlite. If I would have implemented this for a commercial client, I would have used Solr for search which is much more powerful. For example, it could easily do a phonetic comparison as well, so compare terms by how they sound like. In the past, city names like New York were split into two keywords. So now there is a dash as a workaround as that's what we came up with together with the user who reported the problem. Maybe there's another quick win to improve it if you check the source?