Like the title says, when using the hook_search_api_data_type_info() with a fallback on text, you're not able to boost your fields

Comments

jsacksick’s picture

Status: Active » Needs review
StatusFileSize
new3.68 KB
jsacksick’s picture

danielnolde’s picture

#2 Worked for me, Thanks!

danielnolde’s picture

Still works like a charme (also bith newest dev from 2013-sep-13), so let's commit it!

drunken monkey’s picture

Thanks a lot for posting, it works really well!
However, I find the code a bit hard to follow. Also, you include types multiple times in the array, and call hook_search_api_data_type_info() several times.
I reworked the code a bit, patch attached. Please test, then I'll commit it.

Still works like a charme (also bith newest dev from 2013-sep-13), so let's commit it!

Why don't you set the issue to RTBC when you think it's ready?

drunken monkey’s picture

OK, since no-one seems to want to review this, I just committed it.
Thanks again for your contribution, Jonathan!

drunken monkey’s picture

Issue summary: View changes
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.