Thursday 21 June 2012 2:50:54 pm - 4 replies
Hi,
I'm working with eZ Find on the last eZ Publish Community version.
My content is like this :
+ Node (Page)
- Paragraph
- Paragraph
- Paragraph
My paragraph are only show when i display the page full view.
But when i search something like 'car' and Solr find it in 2 paragraph i would like that only my page present in the search result. I don't want my paragraph in my result cause i don't have a full view for this kind of object.
Is it possible ?
Cheers
Thursday 21 June 2012 9:09:08 pm
And if you get problems with duplicates (because of hits in several paragraphs under the same page), put the search result strings (not the result itself, but the links and text you want to display) in an array first, and use the unique() operator before looping through and displaying the array.
Modified on Tuesday 26 June 2012 2:38:37 pm by Daniel Arnrup-Øien
You must be logged in to post messages in this topic!