Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, I want to get my meta tags included in my normal Drupal site search but am unsure how to do this.
The issue I have is a keyword is commonly misspelt without a space ie 'abcdef' rather than 'abc def' and, because we spell it correctly in the node body, search doesn't pick it up. As a soulution we put both the correct and incorrect spellings in the meta keywords for the affected nodes and were hopeful that search would pick it up, but it doesn't.
Any help is greatly appreciated.
Comments
Comment #1
rv0 CreditAttribution: rv0 commentedsame here
but in this case i'm using solr search
Comment #2
valthebaldI'm not an expert in search api, but would recommend to search on how to add field values to the search index
Comment #3
rv0 CreditAttribution: rv0 commentedFor solr, I found this:
http://php.dzone.com/articles/drupal-tip-add-your-own-fields
Comment #4
valthebald#3: thanks for the link!