monica Yes, that part works perfectly, the UI is fine. The problem is that when I launch the search it returns (incorrectly) no results, and when I log the queries to the db it is querying for a word '557' which suspiciously happens to be the item_id of the value of the list-based metadata element that I select in the dropdown.
SELECT swi.index_id, swi.row_id, swi.boost, swi.field_index
FROM ca_sql_search_word_index swi
INNER JOIN ca_sql_search_words AS sw
ON sw.word_id = swi.word_id
WHERE swi.table_num = 57 AND sw.word = '557' AND swi.field_table_num = '57' AND swi.field_num = 'A104';
Unfortunately the indexer does not record the <item_id> in ca_sql_search_words, only the words from all the labels corresponding to the list item (in various locales) and the idno. So no 557 in the index, thus no match. (In fact it looks like there could be incidental and incorrect matches if a label of some other item happened to include as text the same numerical value as the item_id, but I digress).
At first blush either the query is incorrectly formed from the advanced search form (and should instead, for example, send the idno of the desired list item), or the indexer should index the <item_id> of the list-based metadata.
So... are <item_id>s for list metadata elements included in the index in healthy installations with vanilla _metadata{} for ca_objects in search_indexing.conf ? Or am I just misunderstanding how all of this should work?
Thanks again