Closed (fixed)
Project:
Apache Solr Search
Version:
7.x-1.0-beta16
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 May 2012 at 14:23 UTC
Updated:
20 Jun 2012 at 19:21 UTC
Is there a way to show only nodes that are in the current users language? Either filter it out of the results by a simple check or directly in the query?
I was hoping there would be a hook to alter the results before the pager is created, i got as for as filtering out the other language in hook_apachesolr_search_page_alter() but thats to late, then you get a pager for 3 pages with only one result.
I also tried Apache Solr Multilingual but that doesn't seem the work really well at the moment for 7.x.
Comments
Comment #1
nick_vhYou should probably facet on the language. I you want to do this dynamic, then you should expose this as a facet. There are numerous issues in the queue that can tell you how to do that
Comment #2
nick_vh