Closed (works as designed)
Project:
Search API
Version:
7.x-1.0
Component:
Views integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2011 at 10:55 UTC
Updated:
19 Mar 2014 at 20:40 UTC
Jump to comment: Most recent
Comments
Comment #1
cloudbull commentedWhat kinding of indexing you are using ?
If solr, it can be done by programatically adding new field to server.
Then filter by that field.
If mongoDB, you can custom sort by js as well...
Keith
Comment #2
e_log commentedEDIT: if the search is node based then votes can not be indexed because they are stored in the votingapi_vote table and not in the node table....
EDIT 2: It works with custom fields.
Comment #3
Fidelix commentede_log, what do you mean with "custom fields"?
Comment #4
e_log commentedhi Fidelix,
take a look at this link to index custom fields:
http://ygerasimov.com/add-custom-field-search-api-apachesolr-index
For votingapi the callback could look like this:
votingapi_aggregate_function could be a default function like average or sum or a custom function.
Voila, indexing votes.
Comment #5
nick_vh