Closed (outdated)
Project:
Search API Solr
Version:
7.x-1.3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2013 at 14:53 UTC
Updated:
8 Aug 2019 at 11:59 UTC
Jump to comment: Most recent
Comments
Comment #1
drunken monkeyUnfortunately, this is not possible out of the box with the Search API Solr module. Only if you want a strict ordering and that ordering happens to be alphabetical (or exactly in reverse) for the content type machine names, you can just add a sort in Views.
Otherwise, you'll have to manipulate the queries and/or documents sent to Solr, with
hook_search_api_solr_query_alter()orhook_search_api_solr_documents_alter(), respectively.Use either this tip or this one from the Solr Relevancy FAQ to find out what you will have to change.
Comment #2
reptilex commentedThanks drunken monkey, that was fast and precise. I will look into it when I have a bit more time. If I find something useful I will post it back here for others to have.
Comment #3
OanaIlea commentedThis issue was closed due to lack of activity over a long period of time. If the issue is still acute for you, feel free to reopen it and describe the current state.