Piotrex0303
Nearly everyone that participates in this forum is part of the user community (myself included) and not employed by Whirl-i-gig. We just try our best to help each other out, "expert" or not.
The solution you are looking for is to index related ca_places to ca_objects through ca_collection.
In search_indexing.conf
find the ca_collections{}
block. Inside this block, find the ca_place_labels{}
sub-block. In this sub block, add an extra value to the tables{}
block, that traverses through ca_collections to ca_objects, onto ca_places.
Eg.
ca_place_labels = {
tables = {
places = [ca_places_x_collections, ca_places],
objects = [ca_objects_x_collections, ca_objects, ca_objects_x_places, ca_places]
},
fields = {
name = {}
}
},
you will then be able to search using ca_place_labels.name:$search_query
inside collections (advanced or basic) and it will return collections that are either related directly to that place, or related indirectly through an object.
You can optionally add an access_point to make it easier.
PS
@darrigan I am flattered you call me an expert, I am constantly learning more every day about this platform, after 4 years experience, but I have many years experience (15 at this moment) helping cultural institutions setting up lots of different open source systems to manage their collections. This application has become my number 1 go to however 🙂