collectiveaccess / providence

Cataloguing and data/media management application
GNU General Public License v3.0
290 stars 167 forks source link

Search for object labels: preferred, non_preferred, type_id #1471

Open andrea-favarin opened 11 months ago

andrea-favarin commented 11 months ago

Hello, when I try to make search for: 1) preferred_label and type_id 2) non_preferred label and type_id I get wrong results

img

https://collectiveaccess.org/support/index.php?p=/discussion/301460/help-index-objects-labels

andrea-favarin commented 11 months ago
    ca_object_labels = {
            key = object_id,
            fields = {
                    name = { BOOST = 100, INDEX_ANCESTORS, INDEX_ANCESTORS_START_AT_LEVEL = 0, INDEX_ANCESTORS_MAX_NUMBER_OF_LEVELS = 4, INDEX_ANCESTORS_AS_PATH_WITH_DELIMITER = . },
                    name_sort = { DONT_INCLUDE_IN_SEARCH_FORM },
            #pte2023 tipo titoli
                    type_id = { STORE },

is_preferred = { STORE },

pte2023 tipo titoli fine

                    _count = {}
                  }