πŸ‡ΊπŸ‡ΈUnited States @brian_nsu

Account created on 29 January 2018, about 7 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States brian_nsu

Kristen,

Has this issue come up again lately? Just this morning, my Drupal 10.3 account password had expired and was greeted with the password change form. This form loaded with the problem described above ( and in the linked issue here: https://www.drupal.org/project/password_policy/issues/2971743 πŸ› Error on aggregated css files for users forced to reset password RTBC ) where the css is not rendering. That linked issue contains a file with patch code. I checked my site, and that patch code is indeed present. I found this ticket with more current responses, so wanted to reach out here.

Appreciate and info you might provide.

Brian

πŸ‡ΊπŸ‡ΈUnited States brian_nsu

I ran into this issue on our Drupal 10 site this week. A user updated his password, and after the Admin css would not load. Found this post and followed the steps above, which would temporarily allow the user to display the site correctly. Unfortunately, upon logout and login, the css would again fail to load for that user.

I ended up uninstalling the Password Policy module completely to resolve this issue. We completed our Drupal 9 -> 10 upgrade on Nov. 1, 2023. This is the first account to update its password since the upgrade was released.

πŸ‡ΊπŸ‡ΈUnited States brian_nsu

I think I'm going to answer my own question... I just noticed they are separate field-items.

πŸ‡ΊπŸ‡ΈUnited States brian_nsu

I think I found it... although I'm not sure I can exactly explain what "it" was... a number of issues I believe.  I watched another online tutorial, stepped thru the process of configuring the search index.  It initially failed, but I was able to piece together where the problem originated in the Fields tab adding the fields to index correctly.  Not done, but at least I have results I can work with now.

I appreciate everyone's help/advice... tgif.

πŸ‡ΊπŸ‡ΈUnited States brian_nsu

I checked the Search Index - export and found this reference which I believe is like your example:

field_custom_search_terms:
    label: 'Custom search terms'
    datasource_id: 'entity:node'
    property_path: field_custom_search_terms
    type: text
    boost: 8.0
    dependencies:
      config:
        - field.storage.node.field_custom_search_terms

I just installed the Search API module yesterday on a clean training server.  I was using the built-in Drupal search, but this desire to add a field with key words and search for them caused me to look for something else.  Watched a couple tutorials, mostly on installing and simple configuration.  Would you be able to suggest an online tutorial that could show me more details on the Search API module?

πŸ‡ΊπŸ‡ΈUnited States brian_nsu

Attaching some screen grabs below in case they help with details.  I am not sure what you mean by "export the search config"? How do I do that?

Content Type - Manage Fields: https://imgur.com/nRunK11

Node edit screen: https://imgur.com/LPMfQji

View: https://imgur.com/fUpbTFo

Search Api - View Tab: https://imgur.com/MuJ3Fr8

Search API - Edit Tab: https://imgur.com/Tzx7orc

Search API - Fields Tab: https://imgur.com/cQgcOWA

Search API - Processors Tab : https://imgur.com/0MZnr0O

Search API - Processors Tab <more>: https://imgur.com/fcxn7RC

 

πŸ‡ΊπŸ‡ΈUnited States brian_nsu

I just created a plain text field.  Does field type matter for search indexing?

πŸ‡ΊπŸ‡ΈUnited States brian_nsu

ok... I appreciate the reply.  I just wanted to make sure I am headed in the right direction.

πŸ‡ΊπŸ‡ΈUnited States brian_nsu

πŸ‡ΊπŸ‡ΈUnited States brian_nsu

These are the fields and their values from one record:

Title: Math

Body: This is the math record. Goldfish.

Custom Search Terms: Addition

In the Search form, I can successfully search for the terms "Math" and "Goldfish"... those searches return this record.  If I search for the term "Addition", no records are returned by the search.

Production build 0.71.5 2024