Reviewed & tested by the community
Project:
biblio_search_api
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Dec 2013 at 12:24 UTC
Updated:
19 Feb 2014 at 14:32 UTC
Jump to comment: Most recent
Multiple authors are being indexed/faceted as a comma separated string instead of separate items.
| Comment | File | Size | Author |
|---|---|---|---|
| caadbche.png | 52.83 KB | jacobsanford |
Comments
Comment #1
jacobsanford144717fb8f79726fcb05190709afa5d4c6510d52 seems to fix this.
Comment #2
St_B commentedHi Jacob,
Now authors are well indexed, one item per author. But I have now a problem that I have not with the first version of the biblio_search_api_module :-(
Only 89/169 items have been indexed. The log give those messages :
"SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn't match value count at row 1"
"Warning : strlen() expects parameter 1 to be string, array given dans SearchApiDbService->convert() (ligne 751 dans /var/www/html/ao/sites/all/modules/search_api_db/service.inc)."
"SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'fr', '3')' at line 1"
Can you figure out a solution ?
Comment #3
jacobsanfordIt seems the search_api does not allow lists coming back, even typed properly in the entity def. I'm going to have to look into this further next week.
Comment #4
azin commented@JacobSanford on biblio Authors, Keywords and Type there is an open issue here: https://drupal.org/node/1903776#comment-8303431
Comment #5
St_B commentedHi Jacob,
Were you able to work on this issue, or maybe not yet ? Do you think the problem can be solved "easily" or not ?
Comment #6
jacobsanfordHi St_B,
The HEAD commit, tagged as 7.x-1.02 should fix this issue finally!
Comment #7
St_B commentedit seems to work indeed, thank you very much :-)
Comment #8
St_B commentedhum I m afraid there is the same problem with keywords field :-/