« Return to Thread: Filtering search results based on content-i18n

Re: Filtering search results based on content-i18n

by Philipp Bärfuss :: Rate this Message:

Reply to Author | View in Thread


>> There are two simple solutions:
>> - maintain each language tree separately (in that case you can  
>> restrict the search to a certain hierarchy)
>> - index the content externally. We have successfully used google  
>> site search for that:
>> -- http://www.google.com/enterprise/search/index.html
> 3:
> - if you're using a single tree, customize the search query and add  
> something along the lines of "and language='de'" to it, where  
> 'language' is the node property defining which language the page is  
> in.

This won't work because the same node contains all language data:

- node
   - text_en
   - text_de

the only solution would be to consequently name the properties you  
search for: select * from nt:base where contains(text_de, expression).

@Markus: do I understand your problem correctly?

Philipp

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------

 « Return to Thread: Filtering search results based on content-i18n