Hello

I have a content type with field type "Entity Reference"

After the last update I have problems when searching this field.The query returns nothing.

I think there are problems with indexing .

After downgrade + reindex all are okay.

Thanks

Comments

drunken monkey’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Is this still a problem?
If so, please provide more information, this is really not enough.

Specifically, what are you doing, and what happens? You have a filter on this field, and if the filter is present the search result is always empty? Did you try reindexing? Can you look into the database, table search_api_db_INDEXID_FIELD (or possibly without the _FIELD suffix, but in a column FIELD) and see what it contains?

mec_muc’s picture

I don't know if it is exactly the same situation, but I also don't get results when searching for fields of a referenced entity.

I added a related field "application >> category" (from taxonomy field "category" of referenced entity "application"). The facet is working and I can display the field in the view, but a fulltext search with a category name doesn't show anything.

With 7.x-1.5 I got a PDO-exception (https://www.drupal.org/node/2566329).
With 1.4 there is no exception, but also no Result.

Someone else has a quite similar situation here:
http://drupal.stackexchange.com/questions/150307/can-i-search-an-entity-...

mariusm’s picture

I hope I remember correctly.

I have a view with facet.

When filtered by facet view returns nothing

In Version: 7.x-1.15+3-dev it's ok

I have not tested the latest version.

Thanks

mariusm’s picture

drunken monkey’s picture

I added a related field "application >> category" (from taxonomy field "category" of referenced entity "application"). The facet is working and I can display the field in the view, but a fulltext search with a category name doesn't show anything.

Did you also index the category name as fulltext? Or how specifically are things indexed (fields and types)?
Also, have you tried with the latest dev versions of this module and the Search API?

@ mariusm: So this is fixed for you in the latest dev, as far as you know?