I commented on this issue but since it's closed not sure if anyone will see it - so I thought I'd open a new issue.
here's my comment:
Since you can't use fulltext fields for facets, I'm a little stumped as to how to create a general search which goes across several aggregated fields. If I use the Search: Fulltext search option in the filter of my view then if the user does multiple words the search works correctly but the facets do not correctly reflect the data.
If I add the aggregated field to my facet fields as a Fulltext type - I get various SQL errors. If I change the aggregated field to a string type my search does not work.
Any suggestions? Thanks,
Elizabeth
Comments
Comment #1
emettler commentedI did some followup playing around with this and found:
Any suggestions?
Comment #2
emettler commentedAny help on this?
Comment #3
St_B commented@emettler
Did you have any answer or found something by yourself ?
"When I use Fulltext search to search the site and use multiple terms - I get the correct results back but the Facets only reflect the first item returned in the search."
I have the same problem I think : https://www.drupal.org/node/2272589#comment-8930303
Comment #4
St_B commentedthis seems to be the solution : https://www.drupal.org/node/1403916
Comment #5
cpliakas commentedComment #6
St_B commentedI m afraid there is still this problem
"If I use an aggregated field called search_index(that is of type FullText) on aggregation type Fulltext on a combination of string and fulltext fields, then I do not receive any results."
I made another issue here, but reopen this one in case you won't see the other which is on search api issues : https://www.drupal.org/node/2299385
Comment #7
cpliakas commentedComment #8
cpliakas commentedOK, sounds good.
emettler, thanks for posting the original issue and details.
St_B, sounds good. Referencing the issue you mentioned an leaving this open as "maintainer needs more info" in case there is something required in Facet API to facilitate a fix. Also changing to a bug report as I think that is more accurate.
Chris