Closed (works as designed)
Project:
Search API
Version:
7.x-1.0
Component:
Framework
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2012 at 15:39 UTC
Updated:
13 May 2012 at 20:24 UTC
I've aggregated 2 fields: first_name and last_name.
When I look into SolR index, the values are separated by two \n.
For example, I have "Bob\n\nMarley". Is it normal?
Also when I want to use this aggregated field with Views, it always blank. Even if I create an aggregated field with only one field, its value is correct in SolR index but nothing appears in my view.
Any ideas?
Thanks
Comments
Comment #1
derekwebb1 commentedI am having a similar problem. I used hook_entity_property_info_alter() and it worked in 7.x-1.0-beta10. But when I use 7.x-1.0 no results in the view... though the data is in the solr index.
I have been going over this with the debugger and it seems like the fields are not rendered right in views. It seems like function advanced_render($values) in views_handler_field.inc is not able to get the data... But then again I am not backend developer - so I might be wrong on where the issue is coming from.
Comment #2
drunken monkeyYes, that's normal.
This is also normal, fields added by data alterations are generally not available as Views fields (since Views works directly with the entities and they don't have those fields).
What happens when you store them in the Solr index and use „Retrieve result data from Solr“ I don't know from the top of my head, but if you're doing that it's a Solr issue.