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.

Comments

ron_s created an issue. See original summary.

sgdev’s picture

Status: Active » Needs review
sgdev’s picture

mkalkbrenner’s picture

Status: Needs review » Closed (works as designed)

I 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.

sgdev’s picture

Status: Closed (works as designed) » Needs review

There 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.

sgdev’s picture

If 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...

mkalkbrenner’s picture

Status: Needs review » Closed (outdated)

I 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.

sgdev’s picture

Status: Closed (outdated) » Needs review

It 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.

mkalkbrenner’s picture

Status: Needs review » Closed (won't fix)

Drupal 7 reached EOL.