Ran an initial test of the d6_search_settings migration with an actual D6 DB.

Looking at the d6_search_settings.yml file, there are 5 source variables to be migrated:

- minimum_word_size
- overlap_cjk
- search_cron_limit
- search_tag_weights
- search_and_or_limit

My first step was to confirm that these variables actually exist in my D6 "variables" table. The first 3 I found no problem, but I am unable to find instances of the last two (search_tag_weights, search_and_or_limit) in my D6 install. I spend some time saving the D6 search configuration page with various settings, but neither of these two variables ever showed up in the table.

What am I missing?

Thanks,
-mike

P.S. The first three (minimum_word_size, overlap_cjk, and search_cron_limit) migrated just fine.

Comments

chx’s picture

Status: Active » Closed (works as designed)

These are D7 variables. The migrations were mostly written from the update-to-config calls in D8 and most of the time we haven't separated D6 and D7 variables as that's slightly pointless. It's going to be a lot of fun now to go over those calls again since removed to verify we didn't remove any... We will also need to add defaults now that we support them...

ultimike’s picture

Do you want me to modify the D6 .yml files and remove the extra variables (and add defaults)?

Just point me in the right direction for a sample .yml that uses defaults and I'll see what I can do.

-mike

chx’s picture

To the contrary, I would like to make sure that the migrations contain every D7 variable.