As noted in this comment (https://www.drupal.org/project/search_api_solr/issues/1846860#comment-81...), the example provided in search_api_solr_hook_search_api_data_type_info is a bit confusing.
The dynamic field provided is shown with a prefix of te when it really should be tem. Have updated this so developers will have an example that actually works.
See attached patch, thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| search_api_solr-dynamic_fields_example-1.patch | 913 bytes | sgdev |
Comments
Comment #2
sgdev commentedComment #3
sgdev commentedComment #4
mkalkbrennerI assume there's a misunderstanding. Doesn't 'te' cover 'tem' and 'tes'?
Since nobody commented here for more then a year I close the issue.
Comment #5
sgdev commentedThere is not a misunderstanding. No, "te" does not cover "tem" and "tes".
The fact that no one has commented says more about the Drupal community than the validity of this issue.
Comment #6
sgdev commentedIf you need more information, review the original link I provided in the description: https://www.drupal.org/project/search_api_solr/issues/1846860#comment-81...
Comment #7
mkalkbrennerI see the issue in the patch. But I never maintained the 7.x version and can't tell if it the solution is correct in any case.
I suggest that you contact drunken monkey directly and re-open the issue if he agrees on it.
Comment #8
sgdev commentedIt is the correct solution. I have posted a message to @drunken monkey: https://www.drupal.org/project/search_api_solr/issues/1846860#comment-14...
This needs to be committed.
Comment #9
mkalkbrennerDrupal 7 reached EOL.