I am indexing on the node body and for each node with an empty body i get the following:

Warning: Invalid argument supplied for foreach() in SearchApiDbService->indexItem() (line 342 of .../htdocs/sites/all/modules/contrib/search_api_db/service.inc).

Other issues that may relate to this:
Do not index empty entity references
Don't index NULL values

Comments

drunken monkey’s picture

guy_schneerson’s picture

great job @drunken monkey

* Indexes empty body - no errors
* Indexes body with text - appear in search results

simon georges’s picture

Status: Active » Closed (duplicate)

I suppose we should close this then.

simon georges’s picture

Issue summary: View changes

fixed url

guy_schneerson’s picture

Issue summary: View changes